Skip to content

Instantly share code, notes, and snippets.

@gwengrid
Created April 18, 2016 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gwengrid/12b17da3b1b5c50b7110224adb633bdc to your computer and use it in GitHub Desktop.
Save gwengrid/12b17da3b1b5c50b7110224adb633bdc to your computer and use it in GitHub Desktop.
#! 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