Skip to content

Instantly share code, notes, and snippets.

@tetra5
Last active August 8, 2017 03:16
Embed
What would you like to do?
FizzBuzz
for i in range(1, 101):
print "Fizz" * (not i % 3) + "Buzz" * (not i % 5) or i
print " ".join("Herp" * (not i % 3) + "Derp" * (not i % 5) or str(i) for i in range(1, 101))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment