Create 5 - Finding Factors.py

This commit is contained in:
Lukas Baumann 2021-02-18 19:12:19 +01:00 committed by GitHub
parent fc57152e0b
commit 04578ce07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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