Easy
Keep the Evens
Read a list of integers and print a list of only the even ones.
Input
One line of integers.
Output
A list.
Sample 1
Input
1 2 3 4
Output
[2, 4]
Sample 2
Input
1 3
Output
[]
Output appears hereOne line of integers.
A list.
1 2 3 4
[2, 4]
1 3
[]
Output appears here