Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import random
|
|
| 4 |
# Function to determine the winner
|
| 5 |
def get_winner(user_choice, computer_choice):
|
| 6 |
if user_choice == computer_choice:
|
| 7 |
-
return "It's a
|
| 8 |
elif (user_choice == "Rock" and computer_choice == "Scissors") or \
|
| 9 |
(user_choice == "Paper" and computer_choice == "Rock") or \
|
| 10 |
(user_choice == "Scissors" and computer_choice == "Paper"):
|
|
|
|
| 4 |
# Function to determine the winner
|
| 5 |
def get_winner(user_choice, computer_choice):
|
| 6 |
if user_choice == computer_choice:
|
| 7 |
+
return "It's a Tie!"
|
| 8 |
elif (user_choice == "Rock" and computer_choice == "Scissors") or \
|
| 9 |
(user_choice == "Paper" and computer_choice == "Rock") or \
|
| 10 |
(user_choice == "Scissors" and computer_choice == "Paper"):
|