# Finds and returns only the even elements in the list u.
# find_evens([1, 2, 3, 4] returns [2, 4]
# find_evens([1, 2, 3, 4, 5, 6, 7, 8, 9, 10] returns [2, 4, 6, 8, 10]
#
u = [1, 2, 3, 4]
v = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
def find_evens(u):
return None # Replace this with your implementation
print('Testing find_evens')
print(' find_evens(u): ' + str(find_evens(u)))
print(' find_evens(v): ' + str(find_evens(v)))
print()
Making...