> masteringswe_
codingpython

filter() - built-in

Given a list of integers, nums, create a new list, result, which contains only the even elements in nums. Use Python’s built in filter().