Created
May 7, 2016 07:42
-
-
Save rjshekar90/fdec8777127ccf5fbdeb9ef9e96dd9e6 to your computer and use it in GitHub Desktop.
# Divisors
This file contains 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
# -*- coding: utf-8 -*- | |
# Divisors | |
number = int(raw_input(">>> " )) | |
x = range (1, number+1) | |
for element in x: | |
if number % element == 0: | |
print element |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment