Question: Write a Python program to score the paper-rock-scissor game. Each of two users types in either ( P or p ), ( R or r
Write a Python program to score the paper-rock-scissor game.
Each of two users types in either (P or p), (R or r), or (S or s).
The program then announces the winner as well as the basis for determining the winner:
Paper covers rock,
Rock smashes scissor,
Scissors cut paper,
or Noboby wins.
***Use nested conditionals (nested-if). Use the outer if for Player 1, and the inner if for Player 2.
if
if
elif
...
elif
...

Enter [R]ock, [P]aper, or [S]cissor Player 1: P Enter [R]ock, [P]aper, or [S]cissor Player 2: s Scissor cuts paper. Player 2 WINS! [R]ock, [P]aper, or (s sor Player 1: p Enter [R]ock, [P]aper, or [S]cissor Player 2: s Scissor cuts paper. Player 2 WINS! *** Enter [R]ock, [P]aper, or [S]cissor Player 1: P Enter [R]ock, [P]aper, or [S]cissor Player 2: P Noboby WINS! **********
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
