Created
July 12, 2022 19:39
-
-
Save eloraburns/4fdb45695b0993e7e8bf7876723b3c2a 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 collections import deque | |
def fizzbuzz(n): | |
return "f f bf fb f i i ui iu i z z zz zz z z z zz zz z b u z z "[n % 15 :: 15].strip() or n | |
if __name__ == "__main__": | |
deque((print(fizzbuzz(n)) for n in range(100)), maxlen=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment