Created
April 23, 2017 19:31
-
-
Save mikl745/e4260d4a0294986fbef9964b542e43fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i = int(input()) | |
a = [int( input()) for x in range(i)] | |
y = [] | |
w = [] | |
def delit(n): | |
for i in range(1,n+1): | |
if n % i == 0: | |
w.append(i) | |
return w | |
for y in range(i): | |
z = delit(y) | |
print(z) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment