Question: PYTHON Implement function catchEmAll(pokemon) where pokemon is a list of the number of Pokmon caught by a player who is playing PokemonGo over a 7-day
PYTHON
Implement functioncatchEmAll(pokemon)where pokemon is a list of the number of Pokmon caught by a player who is playing PokemonGo over a 7-day period. Your program will return the total caught for the week. Function returns a numeric value.
Examples:
- catchEmAll([30, 10, 11, 13, 14, 12, 10]) ->100
- catchEmAll([3, 2, 0, 3, 1, 0, 4]) ->13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
