Jul-23-2018, 12:37 AM
Larz60+ ran that code in Python 3.x, that's why he got that error. You're running that code in Python 2.x, that's why you're getting your error. In Python 2.x, input evaluates the user's input before returning it, so it is returning an integer to choice. That does not equal either of the strings you are testing against. Either use raw_input, or test against integer values.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures