subject

The client wants you to write a rock-paper-scissors game that can be played with the computer. A game of rock-paper-scissors consists of three rounds. A player is declared the winner if they win 2 of the 3 rounds. The computer plays by generating a random number from 0-3 where 0 is rock, 1 is paper, and 2 is scissors. For each round, the program should prompt the user for their choice and print out the winner of the round. At the end of the three rounds, the program should print out how many rounds the player and the computer won, and indicate who the winner of the game is.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:30, gabby640
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
image
Computers and Technology, 24.06.2019 11:30, nate1808
What does the https: // mean when you type in a website
Answers: 1
image
Computers and Technology, 24.06.2019 15:30, lakenyagillard79
Python. primary u. s. interstate highways are numbered 1-99. odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. thus, the 405 services the 5, and the 290 services the 90. given a highway number, indicate whether it is a primary or auxiliary highway. if auxiliary, indicate what primary highway it serves. also indicate if the (primary) highway runs north/south or east/west.
Answers: 1
image
Computers and Technology, 24.06.2019 15:30, PresleyPie9452
George is working as a programming team lead. which statements correctly describe the skills that he requires?
Answers: 3
You know the right answer?
The client wants you to write a rock-paper-scissors game that can be played with the computer. A gam...

Questions in other subjects: