Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Welcome to my island!")
- print("""There are two doors in front of you:
- 🚪 A red door and 🚪 a blue door.""")
- door = input("Which door do you want to open? \n").lower()
- if door == "red":
- print("Great! Now you entered a room.")
- print("You found three boxes: 🎁 white, 🎁 black, 🎁 green")
- box = input("Which box do you open? \n").lower()
- if box == "white":
- print("Oops! You opened a box filled with snakes 🐍🐍🐍")
- elif box == "black":
- print("Oops! You opened a box filled with spiders 🕷️🕷️🕷️")
- elif box == "green":
- print("Congratulations! You found the treasure! 💰💰💰")
- else:
- print("Invalid choice! 🤷♂️")
- elif door == "blue":
- print("Oops! You chose the crocodile door 🐊🐊🐊")
- print("Game Over!")
- else:
- print("Invalid choice! 🤷♂️")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement