added ex31

This commit is contained in:
llnu 2020-05-27 16:58:56 +02:00
parent 65d2f55a8b
commit f5ddee1da4
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
while True:
print("""You are on a mountain.
There is a smaller mountain ahead of you and there is a bigger mountain behind you.
Where do you go?
1. Forward
2. Backward"""
direction = input("> ")
if direction == "1":
print("You continued your journey forward, and you arrived on a smaller mountain.")
if direction == "2":
print("You continued your journey backward, and you arrived on a bigger mountain.")
else:
print("You decided to rest, and decide later")