import random
def number_guess(guess):
rand_num = random.randint(1, 100)
if guess < rand_num:
print(f"{guess} is too low. Random number was {rand_num}.")
elif guess > rand_num:
print(f"{guess} is too high. Random number was {rand_num}.")
else:
print(f"{guess} is correct!")
if __name__ == "__main__":
random.seed(900)
guesses = [int(x) for x in input().split()]
for guess in guesses:
number_guess(guess)
To embed this project on your website, copy the following code and paste it into your website's HTML: