From 596c679809c2a2172c8e42b99b25ae9247d11179 Mon Sep 17 00:00:00 2001 From: HVukman Date: Mon, 28 Jul 2025 16:15:22 +0200 Subject: Update 332_p2.k --- challenge-332/hvukman/k/332_p2.k | 2 ++ 1 file changed, 2 insertions(+) diff --git a/challenge-332/hvukman/k/332_p2.k b/challenge-332/hvukman/k/332_p2.k index 3ded0ad113..f79f13aaed 100644 --- a/challenge-332/hvukman/k/332_p2.k +++ b/challenge-332/hvukman/k/332_p2.k @@ -1,2 +1,4 @@ +/ check if element of vector is divisible by 2 odd: {0=2!+/x=inp} +/ looking for character x in word inp; inp is set as global variable {inp::x ; $[0=(+/{odd x}'x);"true";"false" ]}'("weekly";"perl";"challenge") -- cgit