Search results
Saved searches Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window.
Now you need to compare the user input to the magic number and inform the user if the guess was too high, too low, or correct: if user_guess == magic_number: print "Correct!" break elif user_guess < magic_number: print "Too low, try again."
28 sie 2023 · Question: 5.3.7: Higher/ Lower. Answer: magic_number = 3. while True: guess=int (input (“enter a guess: “)) if guess == magic_number: print “you got it”. break. elif guess > magic_number: print “Too high!”.
5.3.7 Higher / Lower CodeHS Answers. Unlock comprehensive guides and tips for coding lessons with free expert CodeHS answers. Start learning now!
CODEHS ANSWERS. Hi guys to anyone who looks at this group I will be uploading more answers to the YouTube channel so please put down any sections you guys need or DM me for any answers I will happily provide them. 2. 18 Share. Add a Comment.
Each Problem Guide breaks down the motivation behind the problem, sample solutions, and common student questions and errors. Problem Guides are also printable. To access Problem Guides from the Courses and Assignments app, choose the green light bulb button next to the desired assignment.