Here is the program in Python using Thonny:
num = int(input("Enter a number between 1 and 12: "))
for i in range(1, 11):
result = num * i
print(num, "x", i, "=", result)
This program asks the user to enter a number between 1 and 12 and then displays the times table for that number up to 10.