Created
November 14, 2023 02:27
-
-
Save z1lc/a68e976ba7d0aee9bf35c003960afeea to your computer and use it in GitHub Desktop.
This file contains 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 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