Rock, Paper, Scissors
In this unit, you expanded your Python skills, and now you can really have some fun! In this lab, you are going to create a game that allows the user to play Rock, Paper, Scissors against the computer. If you aren’t familiar with this classic game, here’s how it works: two people (or a person and a computer!) each select either rock, paper, or scissors. The player who chooses the stronger object wins. Here is how the winner is determined:

Rock beats scissors because a rock can break scissors.
Paper beats rock because paper can cover a rock.
Scissors beats paper because scissors can cut paper.
Go to https://repl.it/ to write your program.

Your program should do the following:

Randomly choose rock, paper, or scissors for the computer
Ask the user to choose rock, paper, or scissors
Compare the computer’s choice to the player’s choice
Announce whether the computer or the human won
Here are two hints to help you write this program:

Test parts of your program to see if they work before moving on to work on other parts. For example, you will need to have the computer select a random number and then choose for that number to correspond to rock, paper, or scissors. You can write just that portion of the program and then test it by having the program print the word “rock,” “paper,” or “scissors” before you even begin working on the part of the program where the user inputs their choice. (Of course, don’t forget to erase the line of code that prints the computer’s choice when you are finished testing—otherwise the game will be just a bit too easy for the user!)
On a piece of paper, draw a chart that shows all nine possible outcomes of the game and use that chart to design and test the program. The chart might look like this:
TABLE 1 Rock paper scissors outcomes
Computer chooses rock Computer chooses paper Computer chooses scissors
User chooses rock

Tied game

Computer wins

User wins

User chooses paper


User chooses scissors


Run several tests on your program to be sure that the correct winner is announced.

When your program works properly, take a screenshot of your code to turn in.

Answers

Answer 1

Answer:

umm...ok? update: im too young to understand coding stuff i tried to make a dancing stickman with code but its too hard, so...

yup o-o


Related Questions

Question 1 of 3
Multiple Choice
How do cyber communities differ from communities in the real world with regard to safe behavior?
A. It can be more difficult to identify unsafe behavior in a cyber community.
B. They are not different in any important ways.
C. People usually behave more safely online than offline.
D. Communities in the real world are always safer.

Answers

Answer:

i would say a.)

Explanation:

hope i was helpful

It’s either A or D but I’d go with A

Can somebody help me? Thank you. ASAP

Answers

Home tab, paragraph group, and multilevel icon. :)
You are correct I think

Question 2 of 3
Based on the descriptions below, which website is most appropriate?
A. a site that asks you to send $10 to help schoolchildren in Uganda
B. a site that describes violent behavior
C. a site that asks for your personal information to enter a contest to win a new bike
D. a site sponsored by a government agency that gives you factual information

Answers

Answer: D

Explanation: You don't need to give money, information, or watch any inappropriate content on the gov website. It's safe and all you do is read.

D, it's for information and you don't actually have to look at anything other than just reading about it (that's if it's actually for reading) It's just a harmless website, but the other ones would make you pay or maybe risk your safety.

Find out the names of at least 20 programming languages and their developers.

Answers

Answer:

lala

Explanation:

I don’t understand da question
Other Questions
Who are some good you tubers to watch? During the English Renaissance, who were sonnets typically addressed to?A. Dead relatives that the poet was mourningB. Heroes that the poet admiredC. Men that the poet was in love withD. Women that the poet was in love with Yo __________mi hermana la semana pasada. (sorprender) A. sorprendi B. soprendo C. sorprendia Find the next 2 numbers in the sequence: 12,-1, -14, -27, -40..... In a class full of men and women,4/9 of the class are women.What is the ratio of men to women in its simplest form? Please help asap , Im very confused . From details in the passage, what can you infer about the civilization and era that produced the story of Phoebus and Phaeton? Sylvia bought 8 bags of stickers. Each bag costs $2.79 how much did Sylvia spend If consumer income rises, how would the demand curve change? Gkxmgxkhxhkckgxgkcyp(dont mind this) Evaluate the following expression when x=-5 and y=7: *enter numbers only Two cell organelles are described below.Organelle A: Present in plant cells but not present in animal cellsOrganelle B: Much larger in size in plant cells than in animal cellsWhich of the following is most likely correct? Organelle A is vacuole, Organelle B is chloroplast Organelle A is chloroplast, Organelle B is vacuole Organelle A is nucleus, Organelle B is mitochondria Organelle A is mitochondria, Organelle B is nucleus Which exercise boosts metabolism 24 hours a day, seven days aweek? Help immediately due yesterday show how you got the answer and show your work for brainiest must do both Please help :') Estimate 15 divided by 2.57 How did new ideas change the way people lived in China ? HELP PLZZZZZWhich of the following are not linear functions? Place a check mark in the box next to each equation that is not a linear function.A.x = 4B.y = 5C.y = 3x + 2D.y = 2x 2 + 1E.y = x 2 Verbo gustar. Fill out the blank by selecting the correct answer from the multiple choice. Which of the following statements BEST describes an opportunistic infection (OI)?A.OIs are common only to people with healthy immune systems.B.OIs are more frequent in the earlier stages of HIV.C.OIs are the common cause of death of people with HIV/AIDS.D.OIs can be deadly to perfectly healthy people. How is African culture reflected in modern life? Give examples.