Even elements

Even elements. Given a list of numbers, find and print all elements that are even numbers. Use a for-loop that iterates directly over the list elements, not over their indices (i.e., do not use range()).

Test Case Input (List of Numbers) Expected Output
1 1, 2, 3, 4, 5 2, 4
2 10, 15, 20, 25, 30 10, 20, 30
3 7, 8, 11, 14, 17, 20 8, 14, 20