[Tutor] Re: Tutor digest, Vol 1 #273 - 17 msgs
Mon, 27 Mar 2000 13:54:50 -0800 (PST)
> Sorry for not including enough details. It's a really short, easy
> script, written as a text file, saved with a .py extension. The script
> import string
> phrase = "some phrase here"
> i = 0
> while ( i < 100 )
> print phrase,i
> i = i + 1
If your code is verbatim, then you forgot a colon at the end of your while
while i < 100:
Otherwise, everything else looks good.