Prompts the user to input the lower bound and upper bound


Problem

Maria has asked you to create a program that prompts the user to enter the lower bound and the upper bound. You have decided to write pseudocode to design the program before actually developing the code. When run, the program should ask the user to guess a number. If the number guessed is lower than the random number, the program should print out a message like "Nope, too low." If the number guessed is higher than the random number, print out a message like "Nope, too high." If the number guessed is the same as the random number, print out a message like "You got it!"

Prompts the user to input the lower bound and upper bound. Include input validation to ensure that the lower bound is less than the upper bound.

Generates a random number between the lower and upper bounds

Prompts the user to input a guess between the lower and upper bounds. Include input validation to ensure that the user only enters values between the lower and upper bound.

Prints an output statement based on the guessed number.

Loops so that the game continues prompting the user for a new number until the user guesses the correct number.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Prompts the user to input the lower bound and upper bound
Reference No:- TGS03249222

Expected delivery within 24 Hours