Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use python Please write a python program for paper, rock and scissor game. 1) the program will play the game between computer and user

please use python
image text in transcribed
Please write a python program for paper, rock and scissor game. 1) the program will play the game between computer and user 2) computer will randomly generate the action (use 1, 2,3 to represent different actions) 3) program ask user to input the action 4) program report who win the game based on the rule Example Output P1eese enter your action (1: rock, 2: paper, 3: scissor): 1 You choose Rook Computer choose Rock It is a tiel Please enten youn action (1: rock, 2; paper, 3i scissor) : 3 You choose 5 f 550 ; You choose SCIS50R Computer choose PAPPER. You win

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions

Question

Draw a labelled diagram of the Dicot stem.

Answered: 1 week ago

Question

List at least three disadvantages to using a consultant.

Answered: 1 week ago

Question

How are arbitrators credentialed?

Answered: 1 week ago