Combining list in a Cartesian product format with addition operation?
1
$begingroup$
I have two list to begin with. list1 = {1, 2, 3}; list2 = {10, 20, 30, 40}; I want to obtain the following output (order unimportant): {11, 12, 13, 21, 22, 23, 31, 32, 33, 41, 42, 43} I can obtain it via "Table, For, Do" etc. command but I am looking for a concise code to achieve such an output?
list-manipulation
share | improve this question
edited 1 hour ago
Mark Robinson
asked 1 hour ago
Mark Robinson Mark Robinson
131