Skip to content

Commit c0feb15

Browse files
authored
Merge pull request Python-World#472 from Dhanush-E/patch-1
Update Rock_Paper_Scissors_Game.py
2 parents afd9e5a + 6779382 commit c0feb15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/RockPaperScissors_Game/Rock_Paper_Scissors_Game.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535

3636
print("Computer's Input: ", my_dict[comp_input])
3737
if ( user_input=='R' and comp_input=='P' ) or ( user_input=='P' and comp_input=='S' ) or ( user_input=='S' and comp_input=='R' ):
38-
comp_count+=1
38+
comp_count=comp_count+1
3939
elif ( user_input=='P' and comp_input=='R' ) or ( user_input=='S' and comp_input=='P' ) or ( user_input=='R' and comp_input=='S' ):
40-
user_count+=1
40+
user_count=user_count+1
4141
else:
4242
print("TIE")
4343

@@ -57,4 +57,4 @@
5757

5858

5959

60-
#END;
60+
#END;

0 commit comments

Comments
 (0)