[Tutor] if statement

delegbede at dudupay.com delegbede at dudupay.com
Tue Nov 2 20:12:17 CET 2010


It is not always enough to send just the error. 
What construct do you have after the if line?

Make your sample detailed to get useful responses. 

Regards. 
Sent from my BlackBerry wireless device from MTN

-----Original Message-----
From: Glen Clark <glenuk at gmail.com>
Sender: tutor-bounces+delegbede=dudupay.com at python.org
Date: Tue, 02 Nov 2010 19:02:15 
To: python mail list<tutor at python.org>
Subject: [Tutor] if statement

 File "/home/glen/workspace/test.py", line 19
    if confirmed == "y":
                       ^
SyntaxError: invalid syntax

Why does this not work??? PyDev says "Expected:else"

_______________________________________________
Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list