Re: basic grammer error..

2009-12-16 Thread Bruno Desthuilliers
codefly a écrit : class codefly: def WaitFreecatz(self, hours): hours = self.hours i = 1 while i < hours: print 'i wait %s hours' %(i) i = i+1 if i == hours: print '\nhe never comes' run error// what's wrong??

Re: basic grammer error..

2009-12-16 Thread Dave Angel
codefly wrote: class codefly: def WaitFreecatz(self, hours): hours = self.hours i = 1 while i < hours: print 'i wait %s hours' %(i) i = i+1 if i == hours: print '\nhe never comes' run error// what's wrong??

Re: basic grammer error..

2009-12-16 Thread codefly
On 12월17일, 오전12시23분, "Diez B. Roggisch" wrote: > codefly wrote: > > class codefly: > > > def WaitFreecatz(self, hours): > > hours = self.hours > > i = 1 > > while i < hours: > > print 'i wait %s hours' %(i) > > i = i+1 > > if i =

Re: basic grammer error..

2009-12-16 Thread Diez B. Roggisch
codefly wrote: > class codefly: > > def WaitFreecatz(self, hours): > hours = self.hours > i = 1 > while i < hours: > print 'i wait %s hours' %(i) > i = i+1 > if i == hours: > print '\nhe never comes' > > > run er

basic grammer error..

2009-12-16 Thread codefly
class codefly: def WaitFreecatz(self, hours): hours = self.hours i = 1 while i < hours: print 'i wait %s hours' %(i) i = i+1 if i == hours: print '\nhe never comes' run error// what's wrong?? -- http://mail.pytho