Question: Write a python program that plays rock, paper, scissors: Create a program that randomly prints 0, 1, or 2. Expand the program so it randomly

Write a python program that plays rock, paper, scissors:

Create a program that randomly prints 0, 1, or 2.

Expand the program so it randomly prints rock, paper, or scissors using if statements. Don't select from a list, as shown in the chapter.

Add to the program so it first asks the user their choice.

(It will be easier if you have them enter 1, 2, or 3.)

Add conditional statement to figure out who wins.

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!