the-honk/school/gcse/year 9/python challenges/19 - While True Times Tables.py
2024-10-09 18:02:36 +01:00

6 lines
No EOL
163 B
Python

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))