the-honk/school/gcse/year 9/python challenges/18 - Times Tables.py
2024-10-09 18:02:36 +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))