basic grammer error..
Diez B. Roggisch
deets at nospam.web.de
Wed Dec 16 10:23:35 EST 2009
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??
Next time, be so kind to tell us what the actual error *is*, will you?
Because there is none for me after c'n'p-ing that code into a source-file...
Diez
More information about the Python-list
mailing list