Re: [Tutor] Student Class

2012-09-05 Thread eryksun
On Wed, Sep 5, 2012 at 7:43 PM, Ashley Fowler wrote: > > class Student: Are you using Python 3? If not, Student should explicitly inherit from object. > def __init__(self, first_name, last_name, numCredits, gpa): > self.first_name = first_name > self.last_name = last_name >

Re: [Tutor] Student Class

2012-09-05 Thread Ashley Fowler
) From: Tutor [tutor-bounces+afowler2=broncos.uncfsu@python.org] on behalf of Alan Gauld [alan.ga...@btinternet.com] Sent: Wednesday, September 05, 2012 11:39 PM To: tutor@python.org Subject: Re: [Tutor] Student Class On 05/09/12 23:10

Re: [Tutor] Student Class

2012-09-05 Thread Alan Gauld
On 05/09/12 23:10, Ashley Fowler wrote: I need help creating a student class. We don't do your homework for you we will only offer hints. So you need to show us what you are trying and we will try to steer you to something better. class with there first name, last name, credits and gpa. Ca

Re: [Tutor] Student Class

2012-09-05 Thread Dwight Hutto
On Wed, Sep 5, 2012 at 6:10 PM, Ashley Fowler wrote: > I need help creating a student class. I am suppose to create a student > class with there first name, last name, credits > and gpa. Can anybody help me get started? Below is what needs to be > included. For number one, is the variables > sup

[Tutor] Student Class

2012-09-05 Thread Ashley Fowler
I need help creating a student class. I am suppose to create a student class with there first name, last name, credits and gpa. Can anybody help me get started? Below is what needs to be included. For number one, is the variables suppose to be parameters? for instance, class Student: def __i