Guess Game
Altaaf16
python
2 years ago
282 B
4
Indexable
#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!")
Editor is loading...