Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads
One Line Answer
What is the use of the next() function?
Advertisement Remove all ads
Solution
#using operator module for sorting multiple columns
sortedlist = sorted (data, key=operator.itemgetter(1))
Concept: Creating a CSV File Using Notepad (or Any Text Editor)
Is there an error in this question or solution?