diff options
| -rw-r--r-- | challenge-332/hvukman/k/332_p2.k | 2 |
1 files changed, 2 insertions, 0 deletions
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") |
