the-honk/gcse computer science/year 9/python challenges/18 - Times Tables.py

5 lines
135 B
Python
Raw Normal View History

2024-10-09 17:02:27 +00:00
num = int(input('Please input a number'))
for i in range(12):
i = i + 1
print(str(num) + ' * ' + str(i) + ' = ', str(num * i))