The function below takes one parameter: a list of integers (num_list). Complete the function to count how many of the numbers in the list are even. As discussed in lecture, this question uses the 'visit every element of a collection' pattern, the 'is a number even' pattern, and the 'count' pattern.

Solved
Show answers

Ask an AI advisor a question