subject

I'm a beginner in coding! BTW, I'm a beginner in coding, so you don't have to get all fancy and stuff lol. Plz keep it "beginner's level" haha thx

1. Randomly choose rock, paper, or scissors for the computer
2. Ask the user to choose rock, paper, or scissors
3. Compare the computer’s choice to the player’s choice
4. Announce whether the computer or the human won

BUT!!! I already did 1, 2, and 3. I just need help with 4, how do I announce whether the computer or the human won? Am I suppose to use an if, elif, or else statement? Or a loop maybe? Please help! Thank you! Also, plz keep it simple, I just started learning coding

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:20, mandy9386
Consider the following statements, then select one of the answers below: the signal() function shown below registers "sig_handler()" as the signal handler function for the sigkill signal, without the complexity of using when the sigkill signal is sent to a process running this code, by a user typing "kill -kill ", where the correct process id is used for to target the process, sig_handler() will be executed.
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, hargunk329
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
image
Computers and Technology, 24.06.2019 09:50, potatocow
Self contained sequences of actions to be performed are? a. expressions b. algorithms c. functions d. formulas
Answers: 1
image
Computers and Technology, 24.06.2019 14:30, heathersloan274
Which computer network component connects two different networks together and allows them to communicate? a is a node (or a device) that connects two different networks together and allows them to communicate.
Answers: 1
You know the right answer?
I'm a beginner in coding! BTW, I'm a beginner in coding, so you don't have to get all fancy and stu...

Questions in other subjects:

Konu
Health, 12.02.2022 23:20
Konu
Biology, 12.02.2022 23:20
Konu
Social Studies, 12.02.2022 23:20
Konu
Mathematics, 12.02.2022 23:20
Konu
History, 12.02.2022 23:30