DEV Community

loading...

Discussion on: Fizz Buzz in Every Language

Collapse
heraldofsolace profile image
Aniket Bhattacharyea

Here's APL.

{(‘FizzBuzz’ ‘Fizz’ ‘Buzz’,⍵)[(0=15 3 5|⍵)⍳1]}¨⍳100

To understand how it works, read this

Collapse
renegadecoder94 profile image
Jeremy Grifski Author

Love it! Short and sweet. I haven't gotten around to learning any APL, and the repo shows it.

Collapse
heraldofsolace profile image
Aniket Bhattacharyea

Yep. I saw there wasn't an APL in the repo