Created
December 23, 2021 23:28
-
-
Save nt92/f4f767bdb1d541f9ad138f87e19c6f17 to your computer and use it in GitHub Desktop.
Recurse Center CracklePop
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
| def crackle_pop(): | |
| for i in range(1, 101): | |
| output = "" | |
| if(i % 3 == 0): | |
| output += "Crackle" | |
| if(i % 5 == 0): | |
| output += "Pop" | |
| if(output == ""): | |
| output += str(i) | |
| print(output) | |
| crackle_pop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment