Created
May 15, 2014 11:49
-
-
Save tokutoku3/9c3a2eba9806165c6c3c 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
print(($_%3?$_%5?"$_":buzz:$_%5?fizz:fizzbuzz)."\n")for 1..100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment