count_evens¶
Return the number of even ints in the given list. Note: the % “mod” operator computes the remainder, e.g. 5 % 2 is 1.
This exercise was taken from codingbat.com and has been adapted for the Python language. There are many great programming exercises there, but the majority are created for Java.