Question: Using Python! 1. Play a game of rock, paper, scissors. In the classic game of rock, paper, scissors: rock can crush scissors, scissors can cut

Using Python! Using Python! 1. Play a game of rock, paper, scissors. In the

1. Play a game of rock, paper, scissors. In the classic game of rock, paper, scissors: rock can crush scissors, scissors can cut paper, paper can cover rock. (If you are unfamiliar with this game, watch this short video: https://www.youtube.com/watch?v=ND4fd6yScBM) Your program should randomly generate a number from 0-2 to indicate the computer's selection (O=rock, 1=paper, 2=scissors). Then it should ask the user to select rock, paper, or scissors. The program should then print out the selection of the computer and the user, and who has won, or if it was a draw. Here are multiple sample runs. Your program will only run ONE game - this shows multiple different outcomes if the program is run 3 times. Choose rock, paper, or scissors: rock Computer is paper. You are rock. Computer wins. Choose rock, paper, or scissors: scissors Computer is paper. You are scissors. You win. I Choose rock, paper, or scissors: scissors Computer is scissors. You are scissors. Draw

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!