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

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to