Cartesian product of two or more lists: Difference between revisions
Cartesian product of two or more lists (view source)
Revision as of 04:46, 24 May 2019
, 5 years ago→{{header|11l}}
m (→version 1: added wording to the REXX header section.) |
Alextretyak (talk | contribs) m (→{{header|11l}}) |
||
Line 34:
print(cart_prod([1, 2], [3, 4]))
print(cart_prod([3, 4], [1, 2]))
[Int] empty_list
print(cart_prod([1, 2], []))▼
print(cart_prod(
====Alternative version====
<lang 11l>F cart_prod(a, b)
|