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??
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??
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 =
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
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