Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save interactivenyc/e8933b7593650a91f52e9bea4f665b10 to your computer and use it in GitHub Desktop.
Save interactivenyc/e8933b7593650a91f52e9bea4f665b10 to your computer and use it in GitHub Desktop.
cracklePop
for x in range (1,101):
if (x % 5 == 0) & (x % 3 == 0):
print(str(x) + " = crackle pop")
elif x % 3 == 0:
print(str(x) + " = crackle")
elif x % 5 == 0:
print(str(x) + " = pop")
else:
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment