IdentationError? what's wrong here?

Question:

if choice1 == "left":
choice2 = input(‘You’ve come to a lake. There is an island in the middle of the lake. Type "wait" to wait foraboat. Type "swim" to swim across.n’).lower()
if choice2 == "wait":
choice3 == input("You arrived at the island unharmed. There is a house with 3 doors. One red, one yellow, and one blue. Which colour do you choose?n").lower()
if choice3 == "red":
print("Game Over.")
elif choice3 == "yellow":
print("You found the treasure! You Win!")
elif choice3 == "blue":
print("You enter a room full of beasts. Game Over!")

‘if choice1 == "left":
choice2 = input(‘You’ve come to a lake. There is an island in the middle of the lake. Type "wait" to wait foraboat. Type "swim" to swim across.n’).lower()
if choice2 == "wait":
choice3 == input("You arrived at the island unharmed. There is a house with 3 doors. One red, one yellow, and one blue. Which colour do you choose?n").lower()’
if choice3 == "red":
print("Game Over.")
elif choice3 == "yellow":
print("You found the treasure! You Win!")
elif choice3 == "blue":
print("You enter a room full of beasts. Game Over!")

Asked By: 76SadBoy

||

Answers:

choice2 = input(... has a different number of spaces in front of it than the rest of the body of the if choice1 == "left" statement.

Answered By: Addison Schmidt
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.