You used this code to glve the user hints.
else:
if guess
print("Guess higher.")
else:...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 21.04.2021 14:00 angeleyes4u610p6np54
You used this code to glve the user hints.
else:
if guess
print("Guess higher.")
else:
print("Guess lower.")
Complete the code below, which is an alternative way to give the user the same hints.
if guess = correct:
# Tell the user the guess was correct.
print("You were correct!")
keepGoing = False
_
print("Guess higher.")
_
print("Guess lower.")
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 00:50
Is one of the most injurious events that can happen to a person in a crash.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:00
Which best describes the condition under which the unicode output is the same as plain text ?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 21:30
How do i copy and paste equations and pictures like math graphs, to post on this site to get my questions answered?
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 23.09.2020 17:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 23.09.2020 17:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 23.09.2020 17:01
![question](/tpl/images/cats/biologiya.png)
Biology, 23.09.2020 17:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 23.09.2020 17:01
![question](/tpl/images/cats/pravo.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 23.09.2020 17:01
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
History, 23.09.2020 17:01
![question](/tpl/images/cats/istoriya.png)
History, 23.09.2020 17:01
![question](/tpl/images/cats/mat.png)
Mathematics, 23.09.2020 17:01
![question](/tpl/images/cats/geografiya.png)
Geography, 23.09.2020 17:01
![question](/tpl/images/cats/geografiya.png)
Geography, 23.09.2020 17:01