Append numbers at same position in strings: Difference between revisions

m
no edit summary
(→‎{{header|Wren}}: Not sure how it happened but my previous update had been rescinded.)
mNo edit summary
Line 46:
next i</lang>
{{out}}<pre>11019 21120 31221 41322 51423 61524 71625 81726 91827</pre>
 
=={{header|Julia}}==
<lang julia>list1 = [1,2,3,4,5,6,7,8,9]
list2 = [10,11,12,13,14,15,16,17,18]
list3 = [19,20,21,22,23,24,25,26,27]
 
println([prod(string(n) for n in z) for z in zip(list1, list2, list3)]) # ["11019", "21120", "31221", "41322", "51423", "61524", "71625", "81726", "91827"]
</lang>
 
=={{header|Phix}}==
4,108

edits