Question: Create a game of Rock, Paper, Scissors using import random, a while loop, and a series of if statements. The user should input either rock,

Create a game of Rock, Paper, Scissors using import random, a while loop, and a series of if statements. The user should input either "rock", "paper, or "scissors"- and the output should print the computers choice, as well as the result of the match. If the match is tied, it should automatically start a new match. For example: Example 1: rock, paper, scissors?: rock Computer chose scissors Rock smashes scissors, you win! Example 2: rock, paper, scissors?: paper Computer chose scissors Scissors cut paper, you lose! Example 3: rock, paper, scissors?: scissors Computer chose scissors rock, paper, scissors?: rock Computer chose paper. Paper covers rock, you lose
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
