Skip to content

Instantly share code, notes, and snippets.

@maja5555
Last active October 17, 2020 07:06
Show Gist options
  • Save maja5555/9283e029b98184188a3811cdfe9d88ca to your computer and use it in GitHub Desktop.
Save maja5555/9283e029b98184188a3811cdfe9d88ca to your computer and use it in GitHub Desktop.
# Domaca naloga 1.2
# Guess the secret number
secret = 3
guess = int(input('Guess the secret number! ;) The number is between 0 and 10.'))
if guess == secret:
print ('Congratulation! Well done!')
else:
print ('Sorry, wrong answer.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment