Computers and Technology
Computers and Technology, 17.07.2019 02:10, jeny89

Write a program that generates a random number between 5 and 15 and asks the user to guess what the number is. if the user’s guess is higher than the random number, the program should display too high. try again. if the user’s guess is lower than the random number, the program should display too low, try again. the program should use a loop that repeats while keeping a count of the number of guesses the user makes until the user correctly guesses the random number. then the program should display the number of guesses along with the following message congratulations. you figured out my number. suggest that you also give the user the opportunity to play the game again or quit.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 23:30, ayjahj
What can you prevent issues related to downloading content form the internet
Answers: 1
image
Computers and Technology, 24.06.2019 04:30, littledudefromacross
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
image
Computers and Technology, 24.06.2019 13:10, Briannas5022
Write a program that has a conversation with the user. the program must ask for both strings and numbers as input. the program must ask for at least 4 different inputs from the user. the program must reuse at least 3 inputs in what it displays on the screen. the program must perform some form of arithmetic operation on the numbers the user inputs. turn in your .py file as well as a screenshot of your program's output. include comments in your code to explain how it works an example program run might look like (have fun with this and be creative): ‘what is your name? ’ “josh” ‘, josh. what is your favorite color? ’ “green” ‘mine too. do you also like ice cream? ’ “no” ‘josh, how old are you? ’ “40” ‘ and how many siblings do you have? ’’ “3” ‘that means you are one of 4 kid(s). is green the favorite color of anyone else in your house? ’
Answers: 3
image
Computers and Technology, 24.06.2019 15:00, marelinatalia2000
When a presentation is being planned, it is important to ensure that it covers all available information. appeals to the audience. uses multimedia tools. entertains the audience.
Answers: 1
Do you know the correct answer?
Write a program that generates a random number between 5 and 15 and asks the user to guess what the...

Questions in other subjects:

Konu
Mathematics, 05.12.2019 09:31
Konu
Social Studies, 05.12.2019 09:31
Konu
Computers and Technology, 05.12.2019 09:31