Code Experts
Home
Challenges
Notes
Compiler
Forum
Exam
Contact
Sign in
Sign up
Home
Challenges
Notes
Compiler
Exam
Forum
Contact
Log In / Register
Copied To Clipboard !
Sorting with Lambda
Sort a list of tuples (name, age) based on the age using a lambda function.
Code :
[('Alice', 25), ('Bob', 20), ('Charlie', 30)]
Total :
0 Discussion
Login
Code (Optional)
Upload Code Image (Optional)
Post Your Comment