Skip to content

Instantly share code, notes, and snippets.

@AtufaShireen
Created September 6, 2019 18:27
Show Gist options
  • Save AtufaShireen/f8a3f3d5603de3cdd5bc242cc63005d3 to your computer and use it in GitHub Desktop.
Save AtufaShireen/f8a3f3d5603de3cdd5bc242cc63005d3 to your computer and use it in GitHub Desktop.
num=int(input('enter a num'))
x=[]
for i in range(2,num+1):
if num%i==0:
x.append(i)
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment