Question: Write a program that lets the user play the game of rock, paper, scissors agaisnt the computer. The program should work as follows: please make

Write a program that lets the user play the game of rock, paper, scissors agaisnt the computer. The program should work as follows:
please make sure you are commenting the code and use white space. it should include comments, comments for each block of code describing what your code is doing
Write a program that lets the user play the game of rock,

Lab 6 (20 pts) Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follows: 1. When the program begins, a random number in the range of 1 and 3 is generated. 1 = Computer has chosen Rock 2 = Computer has chosen Paper 3 = Computer has chosen Scissors (Don't display the computer's choice yet) 2. The user enters his or her choice of "Rock", "Paper", "Scissors" at the keyboard. 3. The computer's choice is displayed. 4. A winner is selected according to the following rules: Rock smashes Scissors b. Scissors cuts Paper c. Paper wraps rock d. If both players make the same choice, the game must be played again to determine the winner. a. When writing this program, create your own functions. You must also have at least one value returning function. Deliverables: 1. A well-documented working python program (py file)

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!