Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
x = raw_input("Enter a number 1-4: ") if x == "1": y = raw_input("Would you like to take the left or right path: ").lower() if y == "left": print("Bear! AHHHHHHH!!") elif y == "right": print("Trees! Well, at least there aren't any bears....") else: print("You sit there, doing nothing, and a falcon eats you. Try again") elif x == "2": z = raw_input("Would you like to play the piano or the guitar: ").lower() if z == "piano": print("THE PIANO IS HAUNTED! RUN!!") elif z == "guitar": print("Nice!") else: print("You sit there, doing nothing, and your music teacher eats you. Try again") elif x == "3": a = raw_input("Do you like Burger King or McDonalds: ").lower() if a == "burger king": print("You eat the Burger King foot lettuce, and die. Oh no...") elif a == "mcdonalds": print("Wonderful! Ronald McDonald may be creepy, but at least he will give you fresh lettuce!") else: print("You sit there, doing nothing, and the girl from Wendy's eats you. Try again") elif x == "4": b = raw_input("Dream or Technoblade: ").lower() if b == "dream": print("You are peacefully playing Minecraft, until Technoblade bursts through your door and throws his dog at you. You are dead. ") elif b == "technoblade": print("Blood for the Blood God! (btw this isn't violent the only blood being shed is in Minecraft, a game rated 10+)") else: print("You sit there, doing nothing, and a Minecraft phantom eats you. Try again") else: print("You are eaten by your falcon music teacher, who shoves Burger King lettuce into your mouth, while a dog runs around you. Tragic")
AdventureStory.py
( around 35 lines python code )
Published By:
πππππππ α(ββΈβΌβΆ)α
Published on
2021-01-01T22:57:03Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here