Created
April 21, 2016 07:19
-
-
Save kobaken0029/408e7522e3b818d6c750ee5fa677213e to your computer and use it in GitHub Desktop.
perlでワンライナー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
map{print(($_%15==0?'fizzbuzz':$_%3==0?'fizz':$_%5==0?'buzz':$_)."\n")}1..100; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment