When declaring a list literal in Python, is it possible to merge an existing list into the declaration? For example:
l = [1, 2, 3]
n = [10, 20, 30, l, 50, 60, 70]
This results in the following:
[10, 20, 30, [1, 2, 3], 50, 60, 70]
Note that the list l itself has been added as a single element, but what I really want is for l's elements to be added individually to the target list, like this:
[10, 20, 30, 1, 2, 3, 50, 60, 70]