Coding task · Python course · Module 2: Data Structures

Project - Search

Write a function that searches for a species

Task

Write a function find_species(database, name) that goes through the list of dictionaries database and returns the dictionary of the species with the given name, or None when there is no such species