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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!