I would like to know what is the most efficient way turn list contain items and list item to one normal list, for example
myList = [1, [2], 3, [11, -1, [2, 3, [1.0]], 2], -3, 1.0, [[0]]]
to
myList = [1, 2, 3, 11, -1, 2, 3, 1.0, 2, -3, 1.0, 0]
I would like to know what is the most efficient way turn list contain items and list item to one normal list, for example
myList = [1, [2], 3, [11, -1, [2, 3, [1.0]], 2], -3, 1.0, [[0]]]
to
myList = [1, 2, 3, 11, -1, 2, 3, 1.0, 2, -3, 1.0, 0]