Skip to content

Instantly share code, notes, and snippets.

@geekodour
Created August 18, 2023 13:12
Show Gist options
  • Save geekodour/10cbef376ba86aa32fc9712dfe44208e to your computer and use it in GitHub Desktop.
Save geekodour/10cbef376ba86aa32fc9712dfe44208e to your computer and use it in GitHub Desktop.
for num in range(1, 101):
if num % 3 == 0 and num % 5 == 0:
print("CracklePop")
elif num % 3 == 0:
print("Crackle")
elif num % 5 == 0:
print("Pop")
else:
print(num)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment