Last active
December 6, 2023 22:41
-
-
Save tritium21/fb22b27ae17c87fc188e9cba9542d136 to your computer and use it in GitHub Desktop.
One of the least readable 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
print("\n".join(["FizzBuzz", *[["Buzz", *[["Fizz", *[str(i)]*2][i%3]]*4][i%5]]*14][i%15] for i in range(1,101))) | |
print( | |
"\n".join( | |
[ | |
"FizzBuzz", | |
*[ | |
[ | |
"Buzz", | |
*[ | |
[ | |
"Fizz", | |
*[ | |
str(i) | |
]*2 | |
][i%3] | |
]*4 | |
][i%5] | |
]*14 | |
][i%15] | |
for i in range(1,101) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment