I’m a beginner in Python and have been stuck on this task all afternoon & could do with a bit of help!
The following function should go through all the integers in the argument list, count the number of even integers (i.e. integers divisible by 2), and return that count e.g.
The start of code I’ve been given goes as follows. Everything I’ve tried doesn’t seem to work
**def even_count(integers):** ** while number from integers** ** if number % 2 = 0** ** count + 1** ** return counter**
Any help is appreciated!