Re: [Tutor] Help with my program

2009-10-23 Thread Kent Johnson
On Thu, Oct 22, 2009 at 11:59 PM, Kenny Shen wrote: > Hi tanner, > > I suppose the following is possible: > > class A: >   def __init__(self): >   self.height = 1 >   self.weight = 7 >   self.name = "tanner" >   self.grade = "A" >   def getinfo(self): >   info = [] >   info

Re: [Tutor] Help with my program

2009-10-22 Thread Kenny Shen
Hi tanner, I suppose the following is possible: class A: def __init__(self): self.height = 1 self.weight = 7 self.name = "tanner" self.grade = "A" def getinfo(self): info = [] info.append(self.name) info.append(self.weight) info.append(self.heig