Skip to content

Instantly share code, notes, and snippets.

@jamespenguin
Created January 8, 2015 06:11
Show Gist options
  • Save jamespenguin/fda6ee5291bb9a5b5982 to your computer and use it in GitHub Desktop.
Save jamespenguin/fda6ee5291bb9a5b5982 to your computer and use it in GitHub Desktop.
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