Skip to content

Instantly share code, notes, and snippets.

@Abhayparashar31
Created September 8, 2021 12:54
Show Gist options
  • Save Abhayparashar31/19c0a0f047d8410e6f450a67ba9f6c19 to your computer and use it in GitHub Desktop.
Save Abhayparashar31/19c0a0f047d8410e6f450a67ba9f6c19 to your computer and use it in GitHub Desktop.
'''
Write a fun Python script that takes the user on a fun adventure by choosing different options for the path.
'''
name = str(input("Enter Your Name\n"))
print(f"{name} you are stuck in a forest. Your task is to get out from the forest without dieing")
print("You are walking threw forest and suddenly a wolf comes in your way. Now You have two options.")
print("1.Run 2. Climb The Nearest Tree ")
user = int(input("Choose one option 1 or 2"))
if user==1:
print("You Died!!")
elif user==2:
print("You Survived!!")
else:
print("Incorrect Input")
#### Add a loop and increase the story as much as you can
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment