def double(list_to_double):
    """Double each element in a list
    >>> l = [1, 2, 3, 4, 5]
    >>> double(l)
    [2, 4, 6, 8, 10]

    >>> l = []
    >>> for value in range(10):
    ...     l.append(value)
    >>> double(l)
    [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
    """
    return [n*2 for n in list_to_double]