Created
May 17, 2016 00:00
-
-
Save nlehrer/65e2fb1230a648c93dfefdd1f06d08f7 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
| # Nathan Lehrer | |
| # CracklePop | |
| for i in range(1,101): | |
| output = '' | |
| if i%3 == 0: | |
| output += 'Crackle' | |
| if i%5 == 0: | |
| output += 'Pop' | |
| if output == '': | |
| output = i | |
| print output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment