import random

inclusive_range = (1, 100)

print(
     % inclusive_range)
target = random.randint(*inclusive_range)
answer, i = None, 0
while answer != target:
    i += 1
    txt = input(% i)
    try:
        answer = int(txt)
    except ValueError:
        print(% txt)
        continue
    if answer < inclusive_range[0] or answer > inclusive_range[1]:
        print()
        continue
    if answer == target:
        print()
        break
    if answer < target: print()
    if answer > target: print()

print()