Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Rock-paper-scissor program instruction 1. Write a one-round game of Rock, Paper, Scissors python program 2. Input a. Ask for the users name b. Ask the

Rock-paper-scissor program instruction

1. Write a one-round game of Rock, Paper, Scissors python program

2. Input

a. Ask for the users name

b. Ask the user for a choice of Rock, Paper, Scissors. You should accept one letter for rock, paper, and scissors, both lower and upper case. For example, you need to accept r and R for Rock.

3. Process

a. Play one round

b. The game should go something like this.

i. You will play against the computer, randomly selecting from among rock, paper, and scissors to combat you.

ii. Your program decides who wins based on the usual rules of the game.

iii. This program will play only one-round

4. Output

a. Users name

b. User's choice

c. Program choice

d. Who won the game

5. Note:

a. Use best practice

i. Include comments - Name, title, IPO

ii. Give helpful instructions to users

iii. Provide easy-to-understand output

iv. Use meaningful variables

6. What to submit

a. Your code in a text file format

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions