0 out of 68 challenges solved

Square the even numbers in a list

**Question:**
Write a function called `square_even_numbers` that takes a list of integers as input and returns a new list containing the squares of the even numbers in the input list. Use list comprehension to create the new list.

**Example:**
Input: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Output: [4, 16, 36, 64, 100]
def square_even_numbers(numbers):
    """
    Creates a new list containing the squares of the even numbers in the input list.

    Args:
        numbers (list): The input list of integers.

    Returns:
        list: A new list with the squared even numbers.
    """
    # TODO: Implement the square_even_numbers function
    pass