Skip to content

Instantly share code, notes, and snippets.

@alexreyes
Created December 9, 2019 16:13
Show Gist options
  • Save alexreyes/06ba89c078ea135f5a81da03fbbc3555 to your computer and use it in GitHub Desktop.
Save alexreyes/06ba89c078ea135f5a81da03fbbc3555 to your computer and use it in GitHub Desktop.
Crackle pop for recurse center
def cracklePop():
for i in range(1,101):
if i % 3 == 0 and i % 5 == 0:
print("CracklePop")
elif i % 3 == 0:
print("Crackle")
elif i % 5 == 0:
print("Pop")
else:
print(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment