3 ms·
Nice! Much better than my first stab. Slightly shorter (56 chars) P6 version: say(("Fizz" if $_%%3)~("Buzz" if $_%%5)||$_) for 1..100
by colomon 14y ago
Nice! Much better than my first stab. Slightly shorter (56 chars) P6 version:
say(("Fizz" if $_%%3)~("Buzz" if $_%%5)||$_) for 1..100