Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def gold_room():
- print("This room is full of gold. How much do you take?")
- choice = input("> ")
- if "0" in choice or "1" in choice:
- how_much = int(choice)
- else:
- dead("Man, learn to type a number")
- if how_much < 50:
- print("Nice, your not greedy, you win!")
- exit(0)
- else:
- dead("You greedy bastard!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement