Cognizant interview question

Even numbers in an array, python code