avatar Intro Bite 07. Filter numbers with a list comprehension

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).

Login and get coding
go back Intro level
Bitecoin 1X

3147 out of 3216 users completed this Bite.
Will you be the 3148th person to crack this Bite?
Resolution time: ~24 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 2.38 on a 1-10 difficulty scale.
» You can do it! 😌

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help