Hey, looks like this is my problem. ) I'll just have to be more careful in 
the future.
----- Original Message ----- 
From: "Alan G" <[EMAIL PROTECTED]>
To: "Nathan Pinno" <[EMAIL PROTECTED]>; <tutor@python.org>
Sent: Sunday, July 31, 2005 6:24 PM
Subject: Re: [Tutor] What's the invaild syntax? Error message and relative 
codesupplied.


>> What the invalid syntax? Here is the error message:
>>  File "D:/Python22/grades.py", line 66
>>    which = which-1
>>       ^
>>SyntaxError: invalid syntax
>
> OK, so it tells you the syntax is wrong and the line it detected the 
> error. Try looking at a line or two before it.
>
>>            while which != -1:
>>                which = int(raw_input("Change which Grade: ")
>>                which = which-1
>
> Oh look, you've messed up the parens again, same as last time...
>
> Try checking your past mistakes Nathan, everyone tends to do the same 
> things wrong over and over. For me its missing the colon at the end of an 
> except statement...
>
> Alan G.
> 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to