Coding task · Python course · Module 2: Data Structures
Project - Sorting
Sort species by weight
Task
Create a list species_list with 3 species (dictionaries with the keys name and weight), sort it with sorted() and the key parameter from the lightest species by the 'weight' key, and store the result in the variable by_weight