Python
# Example of map() in Python
numbers = [1, 2, 3, 4, 5]
squared_numbers = list(map(lambda x: x ** 2, numbers))
print("Squared Numbers:", squared_numbers)  
# Output: Squared Numbers: [1, 4, 9, 16, 25]

# Example of filter() in Python
even_numbers = list(filter(lambda x: x % 2 == 0, numbers))
print("Even Numbers:", even_numbers)  
# Output: Even Numbers: [2, 4]