Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Hash-from-two-arrays/Lasso/hash-from-two-arrays.lasso
Normal file
11
Task/Hash-from-two-arrays/Lasso/hash-from-two-arrays.lasso
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
local(
|
||||
array1 = array('a', 'b', 'c'),
|
||||
array2 = array(1, 2, 3),
|
||||
hash = map
|
||||
)
|
||||
|
||||
loop(#array1 -> size) => {
|
||||
#hash -> insert(#array1 -> get(loop_count) = #array2 -> get(loop_count))
|
||||
}
|
||||
|
||||
#hash
|
||||
Loading…
Add table
Add a link
Reference in a new issue