How can I have a multiple choice question with each answer a different response and a default answer for an answer that is not understandable?
I am trying to create a game where you use your imagination to complete the game.
I also need to somehow repeat until the correct answer is given.
Here is the code:
answer = input("start?")
while answer.lower() != "start":
answer = input("type start")
else:
print("starting")
answer = input("you find yourself in a car")
while answer != "["look", "get out"]:
print("I don't understand..")
answer = input("Try again")
else:
if answer == "look":
print ("looking")
elif answer == "get out":
print("got out of car")
print("finished")