I am thinking of a number between
100… can you guess it?
Using the flowchart below, complete the program in the editor below.
Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:
Need some help? Click here to reveal a video walkthrough for this task!
100until they get the correct answer, telling them each time if the answer is higher or lower than what they guessed.
Below is an example of how the program should run:
I'm thinking of a number between 1 and 100... Can you guess it? Enter your guess: 23 Nope, my number is higher! Enter your guess: 87 Nope, my number is lower! Enter your guess: 48 Nope, my number is higher! Enter your guess: 56 You got it! Bye now!