{:[~x!15;"fizzbuzz";~x!3;"fizz";~x!5;"buzz";$x]}'1+!100 {:[0
Are there any shorter programs than these two k3 ones?
61–64 of 64 posts
{:[~x!15;"fizzbuzz";~x!3;"fizz";~x!5;"buzz";$x]}'1+!100 {:[0
{:[~x!15;"fizzbuzz";~x!3;"fizz";~x!5;"buzz";$x]}'1+!100 {:[0
Are there any shorter programs than these two k3 ones?
{∊(3↑(0=3 5|⍵)∪1)/'Fizz' 'Buzz'⍵}¨⍳100
https://tryapl.org/?a=%7B%u220A%283%u2191%280%3D3%205%7C%u23...