From c4c0ff613a3509c0e2d0078a731d2f6b719bbd96 Mon Sep 17 00:00:00 2001 From: Andrew Shitov Date: Mon, 15 Nov 2021 09:35:21 +0100 Subject: ash 139-1 in Raku --- challenge-139/ash/raku/ch-1.raku | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 challenge-139/ash/raku/ch-1.raku diff --git a/challenge-139/ash/raku/ch-1.raku b/challenge-139/ash/raku/ch-1.raku new file mode 100644 index 0000000000..bbf4fdf078 --- /dev/null +++ b/challenge-139/ash/raku/ch-1.raku @@ -0,0 +1,7 @@ +sub MAIN(*@a) { + # This is enough to say the result, but it prints True of False + # say [<=] @a + + # But this is to follow the task and print 1 or 0: + say +([<=] @a) +} -- cgit