Skip to content

Commit

Permalink
Update Schere_Stein_Papier_1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AIIrondev authored Mar 17, 2024
1 parent c1c73e8 commit d06e6fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Schere_Stein_Papier_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
#Logic system
while True:
random_1 = random.choice(computer_choice)
print(random_1)
user_input = input()
user_input = input(">>>")
if user_input == 'Exit':
sys.exit(1)
elif user_input == "help":
print("Schere, Stein, Papier bitte eingeben um zu spielen!")
print("Exit um das Spiel zu beenden!")
elif random_1 == "Schere":
if user_input == "Schere":
print("Keiner hat gewonnen!")
Expand Down

0 comments on commit d06e6fd

Please sign in to comment.