Home My space log
Language EN (English)

Count the even numbers

Python Beginner robot ages 11-13

The problem

Write a function count_evens(numbers). It gets a list of whole numbers and gives back how many of them are even.

You will practice: lists, loops, if, remainder (%)

Mode

Press Tab to indent. Press Esc and then Tab to move on to the next button.

Your code runs in your browser. We do not receive it or save it. Python is downloaded from cdn.jsdelivr.net the first time you run it (about 10 MB).

Test results

      What your code printed