"erinzo" <giseledjof...@cox.net> wrote
Sorry, I am a beginner in the python programming language.
But went I type raw input("\n\npress the enter key to exit.") in the last line of the program,I have the syntaxerror.

If you are using Python v2 use

raw_input()      # note the underscore

If you are using Python v3 use

input()

HTH,


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




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

Reply via email to