Created
May 3, 2018 17:56
-
-
Save arlyon/5d6593281826735937acec4a320ac520 to your computer and use it in GitHub Desktop.
Infinite Legible Fizzbuzz
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 itertools import count; [print("fizz" * (not x % 3) + "buzz" * (not x % 5) or x) for x in count(1)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment