"""\nCreate a program that plays Rock, Paper, Scissors\n"""\n\nimport random\n\nchoices = ["rock","paper","scissors"]\n\n# Ask user to choose one of the choices\nuser_choice = input("Please choose rock, paper, or scissors: ")\n\n# Check that user choice is valid\nwhile user_choice not in choices:\n    user_choice = input("Please choose rock, paper, or scissors: ")\n\n# Computer chooses one at random\ncomputer_choice = random.choice(choices)\n\n# Determine the winner\nif user_choice == computer_choice:\n    print("It\s a tie!")\nelif user_choice == "rock" and computer_choice == "scissors":\n    print("You win!")\nelif user_choice == "scissors" and computer_choice == "paper":\n    print("You win!")\nelif user_choice == "paper" and computer_choice == "rock":\n    print("You win!")\nelse:\n    print("Computer wins.")\n\n# Print the result\nprint("You chose: "+user_choice+"\\nComputer chose: "+computer_choice)
Create a program to play Rock, Paper, Scissors?