the-honk/gcse computer science/year 9/python challenges/18 - Times Tables.py
2021-09-14 21:57:23 +01:00

5 lines
No EOL
135 B
Python

num = int(input('Please input a number'))
for i in range(12):
i = i + 1
print(str(num) + ' * ' + str(i) + ' = ', str(num * i))