aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchallenge-137/luca-ferrari/raku/ch-1.p67
1 files changed, 7 insertions, 0 deletions
diff --git a/challenge-137/luca-ferrari/raku/ch-1.p6 b/challenge-137/luca-ferrari/raku/ch-1.p6
new file mode 100755
index 0000000000..1c1d8d9166
--- /dev/null
+++ b/challenge-137/luca-ferrari/raku/ch-1.p6
@@ -0,0 +1,7 @@
+#!raku
+
+sub MAIN() {
+ for 1900 .. 2100 -> $year {
+ $year.say if Date.new( '%04d-12-31'.sprintf( $year ) ).week-number == 53;
+ }
+}