Skip to content

Instantly share code, notes, and snippets.

@amankharwal

amankharwal/text_based.py Secret

Created Jan 16, 2021
Embed
What would you like to do?
name = str(input("Enter Your Name: "))
print(f"{name} you are stuck at work")
print(" You are still working and suddenly you you saw a ghost, Now you have two options")
print("1.Run. 2.Jump from the window")
user = int(input("Choose 1 or 2: "))
if user == 1:
print("You did it")
elif user == 2:
print("You are not that smart")
else:
print("Please Check your input")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment