Posted by: 6ixMediaSA
Comments: 0
Post Date: February 13, 2026
import random
secret = random.randint(1, 10)
guess = 0
while guess != secret:
guess = int(input("Guess 1-10: "))
if guess < secret: print("Higher!")
elif guess > secret: print("Lower!")
print("Correct!")


Leave a Reply