Created
April 18, 2016 19:24
-
-
Save gwengrid/12b17da3b1b5c50b7110224adb633bdc 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
#! python | |
for i in range(1, 101): | |
string = "" | |
if i % 3 == 0: | |
string += "Crackle" | |
if i % 5 == 0: | |
string += "Pop" | |
if not len(string): | |
string += str(i) | |
print string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment