[Solved] how to map two list in a single list in python using zip() in list comprehension
You can use map and zip for this: >>> data = [[‘Ankur’, ‘Avik’, ‘Kiran’, ‘Nitin’], [‘Narang’, ‘Sarkar’, ‘R’, ‘Sareen’]] >>> list(map(‘ ‘.join, zip(*data))) [‘Ankur Narang’, ‘Avik Sarkar’, ‘Kiran R’, ‘Nitin Sareen’] 0 solved how to map two list in a single list in python using zip() in list comprehension