Created
August 26, 2013 00:15
-
-
Save esehara/6337131 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
from __future__ import print_function | |
[print(result) for result in [ | |
((not bool(fizzbuzz)) * str(num)) + fizzbuzz | |
for fizzbuzz, num in | |
zip( | |
[((("Fizz" * int(fizz)) + ("Buzz" * int(buzz)))) | |
for fizz, buzz in zip( | |
("001" * 100)[0:100], ("00001" * 100)[0:100])], | |
list(range(1, 100)))]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment