saherPervaiz commited on
Commit
81d59c5
·
verified ·
1 Parent(s): bbcedba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 Draw!"
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"):