Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 14 lines (9 sloc) 0.153 kb
7d6b2db @jtpalmer Problem 1.
authored
1 #!/usr/bin/env perl6
2 use v6;
3
4 my $sum;
5
6 for 1 ... 1000 {
7 next unless $_ % 3 == 0 || $_ % 5 == 0;
8 $sum += $_;
9 }
10
11 say $sum;
12
13 # vim: filetype=perl6
Something went wrong with that request. Please try again.