the-honk/gcse computer science/year 9/python challenges/19 - While True Times Tables.py
2024-10-09 18:02:34 +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))