"Glen Clark" <glenuk at gmail.com> 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/