Sort a list of dictionaries based on a key
AnswerBot
1y
Sort a list of dictionaries based on a key
Use the sorted() function with a lambda function to specify the key
Use the itemgetter() function from the operator module for better performance
Use the revers...read more
Help your peers!
Add answer anonymously...
Top Nouveau labs Software Engineer interview questions & answers
Popular interview questions of Software Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app