| Python problem... I'm having a problem with this little piece of code.
for number in range(1,100):
print "Hello, world!"
print "Just", 100 - number, "more to go..."
print "Hello, world"
print "That was the last one... Phew!"
This is the error it spits out at me...
george@george's:~$ python pypro.py
File "pypro.py", line 1
for number in range(1,100):
^
SyntaxError: invalid syntax
george@george's:~$
I'm learning python again, since a bad start a while back. So I'm still nubie. Thanx in advnace. |