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