Created
May 19, 2014 15:05
-
-
Save cessor/8778805d6f76aa464a9a to your computer and use it in GitHub Desktop.
FizzBuzz in 114 Characters Python
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
| from itertools import compress;print[''.join(compress(('Fizz', 'Buzz'),(i%3==0,i%5==0)))or i for i in range(1,60)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment