Question: 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
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
Please enter your action (1: rock, 2: paper, 3: scissor): 1 You choose ROCK Computer choose ROCK It is a tie!
Please enter your action (1: rock, 2: paper, 3: scissor): 3 You choose SCISSOR Computer choose PAPPER You win!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
