Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bsoyka/fortune-teller
Browse files Browse the repository at this point in the history
  • Loading branch information
bsoyka committed Sep 22, 2018
2 parents fdb5245 + e6416d4 commit fbd12bb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
print("")
user_input = None
while user_input not in pos_0:
user_input = input("Choose an option above, type exactly as shown: ")
user_input = raw_input("Choose an option above, type exactly as shown: ")
if fortune_helper.represents_int(user_input):
amount_to_move = int(user_input)
else:
Expand All @@ -34,10 +34,10 @@
user_input = None
if pos == 1:
while user_input not in pos_1:
user_input = input("Choose an option above, type exactly as shown: ")
user_input = raw_input("Choose an option above, type exactly as shown: ")
elif pos == 2:
while user_input not in pos_2:
user_input = input("Choose an option above, type exactly as shown: ")
user_input = raw_input("Choose an option above, type exactly as shown: ")
if fortune_helper.represents_int(user_input):
amount_to_move = int(user_input)
else:
Expand All @@ -57,11 +57,11 @@
user_input = None
if pos == 1:
while user_input not in pos_1:
user_input = input("Choose an option above, type exactly as shown: ")
user_input = raw_input("Choose an option above, type exactly as shown: ")
print("Your fortune is:")
print(pos_1[user_input])
elif pos == 2:
while user_input not in pos_2:
user_input = input("Choose an option above, type exactly as shown: ")
user_input = raw_input("Choose an option above, type exactly as shown: ")
print("Your fortune is:")
print(pos_2[user_input])
print(pos_2[user_input])

0 comments on commit fbd12bb

Please sign in to comment.