Created
June 17, 2017 13:22
-
-
Save JagDecoded/f44f24a7f0878991666ee081a0e448e7 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
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