Skip to content

Instantly share code, notes, and snippets.

@z1lc
Created November 14, 2023 02:27
Show Gist options
  • Save z1lc/a68e976ba7d0aee9bf35c003960afeea to your computer and use it in GitHub Desktop.
Save z1lc/a68e976ba7d0aee9bf35c003960afeea to your computer and use it in GitHub Desktop.
for i in range(1, 100):
toPrint = ""
if i % 3 == 0:
toPrint += "Crackle"
if i % 5 == 0:
toPrint += "Pop"
if toPrint == "":
toPrint += str(i)
print(toPrint)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment