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

...

Write a Python program to score the paper-rock-scissor game. Each of two

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

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!