Create a gist now

Instantly share code, notes, and snippets.

perlでワンライナーfizzbuzz
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