I am new to Python. How can I make a single list out of many lists inside a list?
For example,
list1 = ['aplle', 'grape', ['aplle1', 'grape1'] ]
Output should be:
list1 = ['aplle', 'grape', 'aplle1', 'grape1']
The list has thousands of elements.