[Tutor] Re: Tutor digest, Vol 1 #273 - 17 msgs

Danny Yoo dyoo@uclink4.berkeley.edu
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
> is:
> 
> 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
statement:

  while i < 100:

Otherwise, everything else looks good.