Question: Hi, I am new to python ans just need this code varified as correct. The instructions are on the top, the code is the 2

Hi, I am new to python ans just need this code varified as correct. The instructions are on the top, the code is the 2 photos under that. Any feedback would be greatly appreciated. Thank you for your time, Tony Hi, I am new to python ans just need this code varified

(Game: scissor, rock, paper) Write a program that plays the popular scissor-rock- paper game. (A scissor can cut a paper, a rock can knock a scissor, and a paper can wrap a rock.) The program randomly generates a number 0, 1, or 2 representing scissor, rock, and paper. The program prompts the user to enter a number 0, 1, or 2 and displays a message indicating whether the user or the computer wins, loses, or draws. Here are sample runs: scissor (0) rock (1). paper (2): 1 Enter systemGuess - random.randint(0, 3) #Prompt user to enter their guess userGuess = eval(input("Enter your choice: scissors (o), rock (1), 7 5paper (2): ")) if (systemGuess == 0 and userGuess -- 1): print("System picked scissors, User picked Rock, User wins" ) elit (systemGuess -- and userGuess -- 2): print("System picked scissors. User picked paper, system wins") Lif (systemGuess == 2 and userGuess == 0): print("System picked paper, user picked scissors, user wins Lif (systemGuess 2 and userGuess =- 1): print("System picked paper, user picked rock, system wins") else: if (systemGuess == userGuess): print("Tie: Please Try Again") PIC.COLLAGE

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!