csc-python-solutions/07/c/5 - Finding Factors.py
2021-02-18 19:12:19 +01:00

5 lines
102 B
Python

n = int(input())
for i in range(1, n + 1):
if n%i == 0:
print(i, "times", n//i, "equals", n)