I have a list of tuples where one of the elements in the tuple is a list.
example = [([0, 1, 2], 3, 4), ([5, 6, 7], 8, 9)]
I'd like to end up with just a list of tuples
output = [(0, 1, 2, 3, 4), (5, 6, 7, 8, 9)]
This question seems to address the issue with tuples but I am concerned as my use case has many more elements in the inner list and
[(a, b, c, d, e) for [a, b, c], d, e in example]
seems tedious. Is there a better way to write this?