{}
Black
68
%Off
November

Stop copy pasting code you don't actually understand

Build the coding confidence you need to become a developer companies will fight for

Stop copy pasting code you don't actually understand

Become a PRO
Become a PRO
Black
68
%Off
November

Stop copy pasting code you don't actually understand

Build the coding confidence you need to become a developer companies will fight for

Stop copy pasting code you don't actually understand

Become a PRO
Become a PRO
run-icon
main.py
import random num = random.randint(1, 100) guess = -1 while guess != num: guess = int(input("Guess a number (1-100): ")) if guess < num: print("Too low! 📉") elif guess > num: print("Too high! 📈") print("🎉 Correct! You win!")
Output