guessed = int(input('Please guess a number: \n'))
correct_number = 7
if guessed == correct_number:
    print('Good guess')
else:
    print(f'You guessed {guessed}, but the correct number is {correct_number}')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: