Question: place = input(Choose a place: forest or cave? ) if place = forest: action = input(climb a tree or cross a river?) if action =
place = input("Choose a place: forest or cave? ") if place = "forest": action = input("climb a tree or cross a river?") if action = "climb a tree": print("You found a bird's nest!") else action = "cross a river": print("You found a boat!") elif place = "cave": print("You find a hidden treasure!")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
