Skip to content

Instantly share code, notes, and snippets.

@nlehrer
Created May 17, 2016 00:00
Show Gist options
  • Select an option

  • Save nlehrer/65e2fb1230a648c93dfefdd1f06d08f7 to your computer and use it in GitHub Desktop.

Select an option

Save nlehrer/65e2fb1230a648c93dfefdd1f06d08f7 to your computer and use it in GitHub Desktop.
# 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