How to flatten a list of lists in Python?

You can use for loop to flatten a list of lists in Python as shown below –

Leave a Reply