I'm not a total beginner in python, I know the basics if you know what I mean. Right now I am working on a text-base adventure game. I want there to be two ways of typing the decision in.
Code: Select all
while True:
answer = raw_input("You have to decide. Do you want to continue, or not")
answer = answer.lower()
if answer == ("continue") or ("i want to continue"):
game()
break
I don't understand what is wrong. By the way, I am using Python 2.7.3.
I really appreciate your help!