the-honk/school/gcse/year 9/python challenges/18 - Times Tables.py
2021-12-21 19:46:28 +00: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))