Append numbers at same position in strings: Difference between revisions
Append numbers at same position in strings (view source)
Revision as of 17:23, 10 November 2021
, 2 years ago→{{header|Wren}}: Not sure how it happened but my previous update had been rescinded.
(Added XPL0 example.) |
(→{{header|Wren}}: Not sure how it happened but my previous update had been rescinded.) |
||
Line 101:
var list3 = (19..27).toList
var list = (0..8).map { |i| 1e4*list1[i] + 100*list2[i] + list3[i] }.toList
System.print
{{out}}
<pre>
</pre>
|