From f5ddee1da4481c03e692671d2b67f92bab021a21 Mon Sep 17 00:00:00 2001 From: llnu Date: Wed, 27 May 2020 16:58:56 +0200 Subject: [PATCH] added ex31 --- balazs/python-the-hard-way/ex31/mountain.py~ | 21 -------------------- 1 file changed, 21 deletions(-) delete mode 100644 balazs/python-the-hard-way/ex31/mountain.py~ diff --git a/balazs/python-the-hard-way/ex31/mountain.py~ b/balazs/python-the-hard-way/ex31/mountain.py~ deleted file mode 100644 index deee108..0000000 --- a/balazs/python-the-hard-way/ex31/mountain.py~ +++ /dev/null @@ -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")