Created
August 18, 2023 13:12
-
-
Save geekodour/10cbef376ba86aa32fc9712dfe44208e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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