Computers and Technology, 26.09.2019 16:20 mayfieldashley2437
In this lab, you will write a function called when the function is called, it will do the following: generate a random integer between 1 and 10 (you will need to import and use the random library) allow user 3 chances to guess the number if the user guessed the correct number, print out "you guessed it! " and ends the game otherwise if user made an incorrect guess, print out "incorrect! " it will compare the guess with the generated random number, and if the guess is smaller, print out a hint message "you guessed too low"; else if the guess is larger, print out a hint message "you guessed too high" reduce the chance by one printout how many chances are left if user has not used up the chances, ask the user to guess the number if user used up the three chances, print "you lost! the number is [number]". game ends sample output: > > > numberguessinggame() guess a number between 1 and 10: 8 you guessed too high you have 2 chances left. guess a number between 1 and 10: 4 you guessed too high you have 1 chances left. guess a number between 1 and 10: 3 you guessed too high you have 0 chances left. you lost! the number is 1 check point thoroughly test your program and make sure your program works. submit your python code as .py file in text format, and capture the screens of your program running showing multiple input and output.
Answers: 3
Computers and Technology, 21.06.2019 14:00
In a file-oriented information system, a transaction file stores relatively permanent data about an entity is created and saved for backup and recovery purposes stores records that contain day-to-day business and operational data is a temporary file created by an information system for a single task
Answers: 3
Computers and Technology, 23.06.2019 15:00
What is the total resistance in a circuit that contains three 60 ohm resistors connected in a series? a. 20 ohms b. 120 ohms c. 60 ohms d. 180 ohms
Answers: 2
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
In this lab, you will write a function called when the function is called, it will do the following...
Computers and Technology, 22.09.2019 16:10
Spanish, 22.09.2019 16:10
Physics, 22.09.2019 16:10
Social Studies, 22.09.2019 16:10
Mathematics, 22.09.2019 16:10
Mathematics, 22.09.2019 16:10
History, 22.09.2019 16:10
English, 22.09.2019 16:10
English, 22.09.2019 16:10