Skip to content

Instantly share code, notes, and snippets.

@JagDecoded
Created June 17, 2017 13:22
Show Gist options
  • Save JagDecoded/f44f24a7f0878991666ee081a0e448e7 to your computer and use it in GitHub Desktop.
Save JagDecoded/f44f24a7f0878991666ee081a0e448e7 to your computer and use it in GitHub Desktop.
num=int(input("enter the number to check all its divisior: "))
div_li=[]
for i in range(2,num):
if num%i==0:
div_li.append(i)
print(div_li)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment