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: ...
2 Antworten
+ 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