Skip to content

Instantly share code, notes, and snippets.

@kimihito
Created July 18, 2012 12:21
Show Gist options
  • Save kimihito/3135883 to your computer and use it in GitHub Desktop.
Save kimihito/3135883 to your computer and use it in GitHub Desktop.
fizzbuzz
for i in range(100):
if i % 15 == 0:
print "FizzBuzz"
elif i % 3 == 0:
print "Fizz"
elif i % 5 == 0:
print "Buzz"
else:
print i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment