Question: PLEASE USE PYTHON! SHOW EVRY STEP INCLUDING THE FUNCTIONS AND PLEASE USE DO WHILE LOOPS!!! IM VERY STUCK! THANK YOU! 2. Review Khan Academy: A

PLEASE USE PYTHON! SHOW EVRY STEP INCLUDING THE FUNCTIONS AND PLEASE USEPLEASE USE PYTHON! SHOW EVRY STEP INCLUDING THE FUNCTIONS AND PLEASE USE DO WHILE LOOPS!!! IM VERY STUCK! THANK YOU!

2. Review Khan Academy: A guessing games. Write a program that allows the user to think of a number between 0 and 100, inclusive. Then have the program try to guess their number. Start at the midpoint (50) and ask the user if their number is (h)igher, (I)ower, or (e)qual to the guess. If they indicate lower, guess the new midpoint (25). If they indicate higher, guess the new midpoint (75). Continue efficiently guessing higher or lower until they indicate equal, then print the number of guesses required to guess their number and end the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!