Skip to content

Commit 1a6c278

Browse files
authored
Update rock-paper-scissors.py
1 parent eec3c90 commit 1a6c278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rock-paper-scissors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
while True:
33
choices = ["rock","paper","scissors"]
44
computer = random.choice(choices)
5-
player = None
5+
player = input("rock, paper, scissors?:") .lower()
66

77
while player not in choices:
88
player = input("rock, paper, scissors?:") .lower()
@@ -47,4 +47,4 @@
4747
if play_again != "yes":
4848
break
4949

50-
print("Bye!")
50+
print("Bye!")

0 commit comments

Comments
 (0)