L6Q2
unknown
plain_text
10 months ago
186 B
4
Indexable
def run():
n = int(input("Enter an integer: "))
print(f"{n} is divisible by: ", end="\n")
for i in range(1, n + 1):
if n % i == 0:
print(i, end="\n")Editor is loading...
Leave a Comment