We use Python 3.6

go back Level: Intro (img: IN / score: 1) level Bite 107. Filter numbers with a list comprehension

190 out of 192 users completed this Bite ...
Will you be Pythonista #191 to crack this Bite?
Average Bite difficulty 1-10 rating: 1.86
» You can do it! 😌

Complete the function below that receives a list of numbers and returns only the even numbers that are > 0 and even (divisible by 2).

The challenge here is to use Python's elegant list comprehension feature to return this with one line of code (while writing readable code).

Github login button