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 <gle...@gmail.com> Sender: tutor-bounces+delegbede=dudupay....@python.org Date: Tue, 02 Nov 2010 19:02:15 To: python mail list<tutor@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@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor