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 -- http://mail.python.org/mailman/listinfo/python-list