Created
August 16, 2017 13:58
-
-
Save zaz600/c626805e2f31664c0b88d0f620931924 to your computer and use it in GitHub Desktop.
FizzPuzz perl-style
This file contains hidden or 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
t,f,b,s,j,p=3,"zFzi","zuzB",sorted,"".join,5;y,z=2,0;list(map(print,[next(filter(lambda i:isinstance(i,str),((i%t,i%p).count(z)!=y or j(s(f))+j(s(b)),i%t or j(s(f)),i%p or j(s(b)),str(i)))) for i in range(1,y*p**y)])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment