Guess Game

 avatar
Altaaf16
python
a year ago
282 B
1
Indexable
Never
#Quess quiz
import random

number = random.randint(1, 100)


guess = int(input("Choose: "))

if guess < number:
    print("Too low! Try again.")
elif guess > number:
    print("Too high! Try again.")
else:
    print("Congratulations! You guessed the correct number!")