subject

Write a program that generates a random number of 1 through 100 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". If the user’s guesses the number, the application should congratulate the user. Hint: Below sample code can be used to generates random numbers import random in = random. randint(1, 100)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 25.06.2019 00:40
Roger ginde is developing a program in supply chain management certification for managers. ginde has listed a number of activities that must be completed before a training program of this nature could be conducted. the activities, immediate predecessors, and times appear in the accompanying table: activity immediate predecessor(s) time (days) a -− 44b -− 55 c -− 11 d b 1010 e a, d 55 f c 55 g e, f 1010 calculate the slack time. show the details.
Answers: 2
question
Computers and Technology, 25.06.2019 05:30
Your mother is sure that you were driving too fast because she knows a. when you arrived and the direction you came from. b. how long it took you to get home and how far you traveled. c. what time you left and how long it took you to get home. d. the direction you were driving and how far you traveled.
Answers: 2
question
Computers and Technology, 25.06.2019 21:30
Use the balanced equation of a nitrogen cycle pathway below to support the conservation of matter and energy. n2 + 8 h --> 2 nh3 + h2
Answers: 1
question
Computers and Technology, 26.06.2019 01:30
Acopyright protects a company that uses an author's original work without permissiona) trueb) false
Answers: 1
You know the right answer?
Write a program that generates a random number of 1 through 100 and asks the user to guess what the...
Questions
question
Mathematics, 14.09.2020 05:01
question
English, 14.09.2020 05:01
question
Mathematics, 14.09.2020 05:01
question
Mathematics, 14.09.2020 05:01
question
Mathematics, 14.09.2020 05:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Social Studies, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Mathematics, 14.09.2020 06:01
question
Health, 14.09.2020 06:01
question
Health, 14.09.2020 06:01
question
History, 14.09.2020 06:01
Questions on the website: 13722367