import random random_integer = random.randint(1, 10) print(random_integer)