Skip to content

Instantly share code, notes, and snippets.

@nt92
Created December 23, 2021 23:28
Show Gist options
  • Select an option

  • Save nt92/f4f767bdb1d541f9ad138f87e19c6f17 to your computer and use it in GitHub Desktop.

Select an option

Save nt92/f4f767bdb1d541f9ad138f87e19c6f17 to your computer and use it in GitHub Desktop.
Recurse Center CracklePop
def crackle_pop():
for i in range(1, 101):
output = ""
if(i % 3 == 0):
output += "Crackle"
if(i % 5 == 0):
output += "Pop"
if(output == ""):
output += str(i)
print(output)
crackle_pop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment