Loop over multiple arrays simultaneously: Difference between revisions
Loop over multiple arrays simultaneously (view source)
Revision as of 04:51, 13 May 2022
, 2 years ago→{{header|Picat}}: Added {{out}}
No edit summary |
m (→{{header|Picat}}: Added {{out}}) |
||
Line 2,905:
=={{header|Picat}}==
Picat has a built-in <code>zip/n</code>
For this task, a foreach loop and list comprenhension are shown.
Line 2,935:
println([A,B,C,D].join(''))
end,
nl.</lang>
{{out}}
<pre>foreach loop:
aA1
Line 2,953 ⟶ 2,952:
bB2Q
cC3R</pre>
=={{header|PicoLisp}}==
|