import random for _ in range(3): user = input("Rock, Paper, Scissors? ").capitalize() computer = random.choice(['Rock', 'Paper', 'Scissors']) print(f"Computer chose {computer}") if user == computer: print("Tie!") elif (user == "Rock" and computer == "Scissors") or (user == "Scissors" and computer == "Paper") or (user == "Paper" and computer == "Rock"): print("You win!") else: print("You lose!")