Hand game
Abhinav_choice = str(input ("Abhinav choice:"))
Anjali_choice = str (input ("Anjali choice:"))
if Abhinav_choice == Anjali_choice:
print ("Tie")
elif Abhinav_choice == "Rock":
if Anjali_choice == "Paper":
print ("Player 2 wins")
else
print ("Player 1 wins")
elif Abhinav_choice == "Paper":
if Anjali_choice == "Rock":
print ("Player 1 wins")
else:
print ("Player 2 wins")
elif Anjali_choice == "Rock":
print ("Player 2 wins")
else:
print ("Player 1 win")
Comments
Leave a comment