import random
user_input = int(input("Guess a number between 0 and 10: "))
magic_number = random.randint(0,10)

if user_input == magic_number:
    print("You got it! It was %d" % (magic_number))
else:
    print("That's not it! It was %d" % (magic_number))
d63ac821920d59f5f9118eadc909bf7f5c667ba5
<mask token>

<mask token>
if user_input == magic_number:
    print('You got it! It was %d' % magic_number)
else:
    print("That's not it! It was %d" % magic_number)

<mask token>
user_input = int(input('Guess a number between 0 and 10: '))
magic_number = random.randint(0, 10)
if user_input == magic_number:
    print('You got it! It was %d' % magic_number)
else:
    print("That's not it! It was %d" % magic_number)

import random
user_input = int(input('Guess a number between 0 and 10: '))
magic_number = random.randint(0, 10)
if user_input == magic_number:
    print('You got it! It was %d' % magic_number)
else:
    print("That's not it! It was %d" % magic_number)

import random
user_input = int(input("Guess a number between 0 and 10: "))
magic_number = random.randint(0,10)

if user_input == magic_number:
    print("You got it! It was %d" % (magic_number))
else:
    print("That's not it! It was %d" % (magic_number))