Skip to content

Instantly share code, notes, and snippets.

@esehara
Created August 26, 2013 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esehara/6337131 to your computer and use it in GitHub Desktop.
Save esehara/6337131 to your computer and use it in GitHub Desktop.
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