Question: Design and make Python program to play Rock, Paper, Scissors. Direction found here: I need word doc, python program and output #generate random num between

Design and make Python program to play Rock, Paper, Scissors.

Direction found here:

#generate random num between (inclusive) 1 & 3 comp_choice = random.randint (1,3) Create a python program for the following rules: Rock wins against

I need word doc, python program and output

#generate random num between (inclusive) 1 & 3 comp_choice = random.randint (1, 3) Create a python program for the following rules: Rock wins against scissors. Scissors win against paper. Paper wins against rock. Same pick, tie . Requirements - Write a program that plays Rock, Paper, Scissors. Ask the user for their choice of Rock, Paper, or Scissors (you can ask them for a number 1, 2, or 3). Have the computer also "choose" Rock, Paper, or Scissors (use the randint function from the Python random module). Print what the user chose and what the computer chose, and the outcome of the round. You will need the import at the start of your code and use the random generator in your program. #import the random module import random Output sample: Enter 1 for Rock, 2 for Paper, 3 for Scissors: 2 You chose paper The computer chose scissors You lost. Try again! Name: Enter 1 for Rock, 2 for Paper, 3 for Scissors: 1 You chose rock The computer chose rock You tied. Try again! Enter 1 for Rock, 2 for Paper, 3 for Scissors: 3 You chose scissors The computer chose paper. Congrats, you won! Good bye. Design - IPO- What is the input from the user? Variable Name Page Data Type 1 > of 2 ZOOM +

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Sure I can help you with that Heres a Python program that plays Rock Paper Scissors according to the ... View full answer

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 Programming Questions!