Programming, Filter, Functional, Python.
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] # Define a function to check if a number is even def is_even(num): return num % 2 == 0 # Use the filter function to extract even numbers even_numbers = list(filter(is_even, numbers)) # Print the result print("Original numbers:", numbers) print("Even