Question: I need help on this function. PYTHON 3 - Rating will be given. No import function strongest pokemon(db, type None, generation None): Given a database
I need help on this function. PYTHON 3 - Rating will be given. No import function

strongest pokemon(db, type None, generation None): Given a database of pokemon db determine the pokemon with the highest total of hp, attack, and defense. Ifthe user decides to restrict the type or generation, provide only the strongest pokemon that also meet those criteria. Since ties are possible, return a list of the strongest pokemon by name, asciibatically sorted. Return None if no pokemon meet the specified requirements. Hint The sorted() function or .sort() method can be helpful here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
