I am a python newbie and have been asked to carry out some exercises using while and for loops. I have been asked to make a program loop until exit is requested by the user
Use a print statement to see what raw_input returns when you hit enter. Then change your test to compare to that.
raw_input
enter