def reverse_list(lst):

    """
    Returns the reversed form of a given list.

    Parameters
    ----------
    lst : list
        Input list.

    Returns
    -------
    reversed_list : list
        Reversed input list.

    Examples
    --------
    >>> lst = [5, 4, 7, 2]
    >>> reverse_list(lst)
    [2, 7, 4, 5]

    """
    reversed_list = lst[::-1]
    return reversed_list