0 out of 68 challenges solved

Filter a list to include only the positive numbers

**Question:**
Write a function called `filter_positive_numbers` that takes a list of integers as input and returns a new list containing only the positive numbers from the input list. Use list comprehension to create the new list.

**Example:**
Input: [-2, -1, 0, 1, 2, 3, 4, 5]
Output: [1, 2, 3, 4, 5]
def filter_positive_numbers(numbers):
    """
    Filters a list to include only the positive numbers.

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

    Returns:
        list: A new list with the positive numbers.
    """
    # TODO: Implement the filter_positive_numbers function
    pass