J
Jinming Xu
Hi Everyone,
I have a very simple python program, which includes a while loop. But to my
surprise, it cannot jump out the while loop. Does anyone know why?
Here is the program:
___________________________
#!/usr/bin/env python
import sys
n=sys.argv[1]
i=0
while i<n:
print "i=",i," n=",n
i+=1
-----------------------------------------------------
Thanks in advance!
Jinming
_________________________________________________________________
I have a very simple python program, which includes a while loop. But to my
surprise, it cannot jump out the while loop. Does anyone know why?
Here is the program:
___________________________
#!/usr/bin/env python
import sys
n=sys.argv[1]
i=0
while i<n:
print "i=",i," n=",n
i+=1
-----------------------------------------------------
Thanks in advance!
Jinming
_________________________________________________________________
Travel Guide! http://special.msn.com/local/springtravel.armxFrom must-see cities to the best beaches, plan a getaway with the Spring