num = int(input("Enter a number: ")) for TimeTable in range(1, 13): result = num * TimeTable print(f"{TimeTable} x {num} = {result}")