Using list comprehension:
>>> lst = [['a','b','c'], [1,2,3], ['x','y','z']]
>>> lst2 = [item[0] for item in lst]
>>> lst2
['a', 1, 'x']
More Related Contents:
- Find the sum of two lists of lists element-wise [closed]
- List comprehension on a nested list?
- Finding max value in the second column of a nested list?
- Comprehension on a nested iterables?
- Flattening a list recursively [duplicate]
- How can I use list comprehensions to process a nested list?
- Turning a list into nested lists in python
- Counting depth or the deepest level a nested list goes to
- How to zip two lists of lists
- Create a list of names whose height is higher than 160 – Explanation on nested dicts cycling [closed]
- How to iterate through two lists in parallel?
- Iterating over every two elements in a list [duplicate]
- From list of integers, get number closest to a given value
- sort() and reverse() functions do not work
- How to split elements of a list?
- Grouping Python dictionary keys as a list and create a new dictionary with this list as a value
- How do I initialize a dictionary of empty lists in Python?
- List vs tuple, when to use each? [duplicate]
- Interleaving Lists in Python [duplicate]
- Does a slicing operation give me a deep or shallow copy?
- Confused about __str__ on list in Python [duplicate]
- Print LIST of unicode chars without escape characters
- Confusing […] List in Python: What is it?
- How to delete an item in a list if it exists?
- What is time complexity of a list to set conversion?
- remove None value from a list without removing the 0 value
- Creating an empty list in Python
- Python string.join(list) on object array rather than string array
- What is the cost/ complexity of insert in list at some location?
- Check list monotonicity