Flatten Command
- Flatten( <List> )
-
Flattens lists to one list.
Flatten({2, 3, {5, 1}, {{2, 1, {3}}}})
yields list1 = {2, 3, 5, 1, 2, 1, 3}.
Flattens lists to one list.
Flatten({2, 3, {5, 1}, {{2, 1, {3}}}})
yields list1 = {2, 3, 5, 1, 2, 1, 3}.