Skip to content

Instantly share code, notes, and snippets.

@daveyarwood
Created June 14, 2014 19:56
Show Gist options
  • Save daveyarwood/5fbb82743bfb9b534628 to your computer and use it in GitHub Desktop.
Save daveyarwood/5fbb82743bfb9b534628 to your computer and use it in GitHub Desktop.
for x in range(1,101):
if x % 15 == 0:
print "FizzBuzz"
elif x % 3 == 0:
print "Fizz"
elif x % 5 == 0:
print "Buzz"
else:
print x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment