VOOZH about

URL: https://www.geeksforgeeks.org/python/python-convert-list-of-tuples-into-list/

⇱ Python | Convert list of tuples into list - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Python | Convert list of tuples into list

Last Updated : 11 Jul, 2025

In Python we often need to convert a list of tuples into a flat list, especially when we work with datasets or nested structures. In this article, we will explore various methods to Convert a list of tuples into a list.

Using itertools.chain()

itertools.chain() is the most efficient way to flatten a list of tuples. itertools.chain() takes multiple iterable (like tuples) and combines them into a single iterable without creating intermediate lists. The unpacking operator (*) can pass each tuple from the list to chain().


Output
['Geeks', 1, 'For', 2, 'geek', '3']

Other methods that we can use to convert a list of tuples into a flat list in Python are:

Using List Comprehension

List comprehension is a clean and Pythonic way to flatten a list of tuples. We use two for loops inside a single list comprehension. The first loop iterates through each tuple in the list. The second loop iterates through each element inside the current tuple and adds it to the result list.


Output
['Geeks', 1, 'For', 2, 'geek', '3']

Using Loop

Using a loop to flatten a list of tuples is the most straightforward method.. We initialize an empty list to store the result. Then, we loop through each tuple in the original list. For each tuple, we add its elements to the result list using the extend() method, which appends each item from the tuple.


Output
['Geeks', 1, 'For', 2, 'geek', '3']

Using functools.reduce() with lambda

reduce() function from the functools module can also flatten a list of tuples. reduce() applies a function (in this case, concatenation) to combine all elements in the list. It starts with the first two items and combines them, then combines the result with the next item, and so on.


Output
('Geeks', 1, 'For', 2, 'geek', '3')

Using numpy.flatten()

If we are working with numerical data and using the numpy library, we can use the flatten() method to convert a list of tuples into a flat list. First, we convert the list of tuples into a numpy array. Then, we use the flatten() method to get a 1D array, which we can convert to a list.


Output
['Geeks', '1', 'For', '2', 'geek', '3']
Comment