"Glen Clark" <[email protected]> wrote
confirmed = int(input("Are you happy with this? (y/n): ")
if confirmed == "y":
count the parens.
It thinks you are trying to do:
confimed = int(input('ffff') if foo else bar)
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
