- Hardcode a number (e.g., 7). Ask the user to guess.
- If correct â "You won!", else â "Try again!"
secret_number = 7
guess = int(input("Guess the number (between 1 and 10): "))
if guess == secret_number:
print("You won!")
else:
print("Try again!")