From 48bda96499bdbc9ef1a4e0511733d2f2e0fa0937 Mon Sep 17 00:00:00 2001 From: razetime Date: Sun, 28 Jan 2024 14:20:46 +0800 Subject: [PATCH] code: correct 3.3 --- code/03.k | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/03.k b/code/03.k index 5153e44..3300d95 100644 --- a/code/03.k +++ b/code/03.k @@ -6,6 +6,6 @@ / 3. Create the array `(1 2 3;4 5 6)` with the help of the verbs you learned in the previous chapter. / Then, make a dictionary with the first row as keys, and the second row as values. -a:2 3#1+!6 / (1 2 3;4 5 6) -a[0]!a[1] / makes the dictionary. +(a;b):2 3#1+!6 / (1 2 3;4 5 6) +a!b / makes the dictionary.