Created
July 13, 2012 12:53
-
-
Save jul/3104751 to your computer and use it in GitHub Desktop.
i++ $A++ the funny way
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
q = 0 or """ #=;$A=41;sub A { ~-$A+2}; A() && q' """ | |
A=lambda A: -~A #'; | |
print A(41) # python + perl = <3 |
[hint]
Je crois qu'il y a plus simple autant en Perl qu'en python pour faire a+=1
[/hint]
super tu gagnes un caractère...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[ironique]
python + perl = code très lisible
[/ironique]