Python Developer — Medium
Key points
- The lambda function reverses the order of elements
- sorted() sorts the list based on the lambda function
- The negative sign in the lambda function affects the sorting order
Ready to go further?
Related questions
Python Developer — Medium
Key points
Ready to go further?
Related questions