Created
January 8, 2015 06:11
-
-
Save jamespenguin/fda6ee5291bb9a5b5982 to your computer and use it in GitHub Desktop.
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
def is_divisible(number): | |
for i in range(1, 21): | |
if number % i != 0: | |
return False | |
return True | |
i = 19 | |
while not is_divisible(i): | |
i += 1 | |
print i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment