0

Why is that false and how is it right? (error: name 'yes' is not defined) How would it look with boolean?

Start = input("Play? \n Type yes or wait \n") if Start == "yes": ... else: ...

1/22/2017 8:22:15 PM

Marv

2 Answers

New Answer

+1

Do you use Python 2.7 or 3? In older versions, you should use raw_input instead of input. If you don't know, which version you have, place the following code in your file: import sys print(sys.version)

0

thanks