Created
March 19, 2015 03:26
-
-
Save jling90/97ee91e0fe9823eda8f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def FizzBuzz: | |
for i in range(1,100): | |
if not (i % 15): | |
print "FizzBuzz" | |
elif not (i % 3): | |
print "Fizz" | |
elif not (i % 5): | |
print "Buzz" | |
else: | |
print i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment