[(a, b, c) for a, (b, c) in l]
Tuple packing and unpacking solves the problem.
More Related Contents:
- How can I add tuples in a list? [closed]
- How to sort a list/tuple of lists/tuples by the element at a given index?
- What’s the difference between lists and tuples?
- How to merge lists into a list of tuples?
- How to extract the n-th elements from a list of tuples
- Are tuples more efficient than lists in Python?
- Flatten an irregular list of lists
- How do I make a flat list out of a list of lists?
- a mutable type inside an immutable container
- How to unzip a list of tuples into individual lists? [duplicate]
- Append to a list defined in a tuple – is it a bug? [duplicate]
- Subtracting 2 lists in Python
- List of tuples to dictionary [duplicate]
- Explicitly select items from a list or tuple
- What is the inverse function of zip in python? [duplicate]
- How to find the maximum value in a list of tuples? [duplicate]
- Converting a list of tuples into a dict
- How to compare a list of lists/sets in python?
- Find an element in a list of tuples
- Why is tuple faster than list in Python?
- How to convert list of tuples to multiple lists?
- What’s the difference between lists enclosed by square brackets and parentheses in Python?
- List of Tuples to DataFrame Conversion [duplicate]
- How to flatten a hetrogenous list of list into a single list in python? [duplicate]
- Flatten an irregular (arbitrarily nested) list of lists
- Why can’t I use a list as a dict key in python? Exactly what can and cannot be used, and why?
- python – get list of tuples first index?
- Filter a list of tuples based on condition
- How can I convert this string to list of lists? [duplicate]
- In what case would I use a tuple as a dictionary key? [closed]