python-by-example-150-chall.../challenges35-44/challenge-039.py
2019-07-17 09:56:46 +03:00

5 lines
159 B
Python

number = int(input('Enter number between 1 and 12 : '))
for i in range(1, 13):
result = i * number
print('{0} x {1} is {2}'.format(i, number, result))