Higher or Lower
Give hints.
Give Helpful Hints! 💡
Hi helper! 💡 A great guessing game gives HINTS! If the guess is wrong, we tell the player: go HIGHER or go LOWER! 📈📉
Let's make our game smart and helpful!
print('Too high? Too low? I will help you! 💡')Greater Than Sign 📈
The symbol > means "greater than" (bigger). 📈 So guess > secret asks: is the guess bigger than the secret?
guess = 8
secret = 5
if guess > secret:
print('Your guess is too HIGH! Go lower! 📉')All lessons in this course
- Making a Secret Number
- Asking for Guesses
- Higher or Lower
- You Win!