Five solutions have been added to this repo over the last 4 years. The latest one was added 18 days ago:
say [+] grep * %% (3|5), ^1000;
This means "say the sum of numbers that are divisible by 3 or 5 in the range zero up to (but not including) 1000".
In reply to Re^3: How to change these small one-liners into Perl6 code?
by raiph
in thread How to change these small one-liners into Perl6 code?
by ABCXYZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |