> masteringswe_
codingpython

List comprehension - filter

Given a list of integers, nums, create a new list, result, which contains only the even elements in nums. Use a list comprehension. What is the time complexity?