[Tutor] need help tracing a syntax error
Python
python at venix.com
Sat Mar 11 17:20:58 CET 2006
On Sat, 2006-03-11 at 10:42 -0500, Kermit Rose wrote:
> I get the message
>
> syntax error
>
>
> and it highlights r2
>
> in the line
>
> .If r2 == 1:
if should be lower case
(all of the python syntax words are lower case)
You will also need to change Else and Elif
Int should probably be int unless you are providing an Int class.
special python objects get capitalized
(None, True, False)
--
Lloyd Kvam
Venix Corp
More information about the Tutor
mailing list