Question: Write a python program that does the following: 1. Initialize an empty list which you will use to store the results of each game. 2.

Write a python program that does the following:

1. Initialize an empty list which you will use to store the results of each game.

2. Start a game of rock paper scissors with the user.

a. The user will play against the computer. A scissor can cut paper, a rock can knock a scissor, and paper can wrap a rock.

b. Open a do-while loop as a play loop. That way, the player can play the game until the user or the computer has won twice.

Ask the user to select his/her choice (rock, paper, scissors)

After the user has entered his/her choice, the program uses a random number generator for its selection.

Your program will evaluate who won or if there was a tie.

The program reports what the computer chose, the users choice, who won that round, and game tally. The game tally shows number of rounds, wins/losses for the player and number of ties.

g. Ask the player if the user wants to play again.

h. When done display a goodbye message.

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!