Skip to content

Instantly share code, notes, and snippets.

@mikl745
Created April 23, 2017 19:31
Show Gist options
  • Save mikl745/e4260d4a0294986fbef9964b542e43fa to your computer and use it in GitHub Desktop.
Save mikl745/e4260d4a0294986fbef9964b542e43fa to your computer and use it in GitHub Desktop.
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