Created
June 14, 2014 19:56
-
-
Save daveyarwood/5fbb82743bfb9b534628 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
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