Skip to content

Instantly share code, notes, and snippets.

@djds23
Created December 1, 2013 16:09
Show Gist options
  • Save djds23/7735763 to your computer and use it in GitHub Desktop.
Save djds23/7735763 to your computer and use it in GitHub Desktop.
CracklePop
for i in range(1,100):
response = ''
if i%3==0:
response += 'Crackle'
if i%5==0:
response += 'Pop'
if i%5 != 0 and i%3 != 0:
response += str(i)
print response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment