[Tutor] if statement

Adam Bark adam.jtm30 at gmail.com
Tue Nov 2 20:07:11 CET 2010


On 02/11/10 19:02, Glen Clark wrote:
>   File "/home/glen/workspace/test.py", line 19
>      if confirmed == "y":
>                         ^
> SyntaxError: invalid syntax
>
> Why does this not work??? PyDev says "Expected:else"
>    
It's hard to tell without context. Can you send the code around it as well?


More information about the Tutor mailing list