Drkcore

09 05 2007 perl Tweet

FizzBuzzワンライナー

フッ君の日常

Perl で

perl -e 'print join "\n", map {!($_%15) ? "FizzBuzz" : \
!($_%5) ? "Buzz" : !($_%3) ? "Fizz" : $_} (1..100)'

書いてみた。

About

  • もう5年目(wishlistありマス♡)
  • 最近はPythonとDeepLearning
  • 日本酒自粛中
  • ドラムンベースからミニマルまで
  • ポケモンGOゆるめ

Tag

Python Deep Learning javascript chemoinformatics Emacs sake and more...

Ad

© kzfm 2003-2021