Created
October 19, 2012 12:46
-
-
Save iamkoch/3918073 to your computer and use it in GitHub Desktop.
FizzPython
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
print ", ".join(["FizzBuzz" if i % 15 == 0 else "Fizz" if i % 5 == 0 else "Buzz" if i % 3 == 0 else str(i) for i in range(15+1)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment