Created
December 9, 2019 16:13
-
-
Save alexreyes/06ba89c078ea135f5a81da03fbbc3555 to your computer and use it in GitHub Desktop.
Crackle pop for recurse center
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
def cracklePop(): | |
for i in range(1,101): | |
if i % 3 == 0 and i % 5 == 0: | |
print("CracklePop") | |
elif i % 3 == 0: | |
print("Crackle") | |
elif i % 5 == 0: | |
print("Pop") | |
else: | |
print(i) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment