Created
May 19, 2014 23:41
-
-
Save goyuninfo/f711eb4cc15e79e97b48 to your computer and use it in GitHub Desktop.
Project Euler Smallest multiple
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
i=19 | |
while 1: | |
i=i+19 | |
if i%17 !=0: | |
continue | |
if i%16 !=0: | |
continue | |
if i%15 !=0: | |
continue | |
if i%14 !=0: | |
continue | |
if i%13 !=0: | |
continue | |
if i%11 !=0: | |
continue | |
if i%9 !=0: | |
continue | |
break | |
print i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment