Last active
July 29, 2019 23:45
-
-
Save qirh/7dd3e23900e1b36b28ae3237dc6370e1 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
#!/usr/bin/python3 | |
def crackle_pop(): | |
for i in range(1, 101): | |
if i%15 == 0: | |
print('CracklePop') | |
elif i%5 == 0: | |
print('Pop') | |
elif i%3 == 0: | |
print('Crackle') | |
else: | |
print(i) | |
crackle_pop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment