the-honk/school/gcse/year 9/python challenges/19 - While True Times Tables.py

6 lines
163 B
Python
Raw Normal View History

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