def return_element_from_list(i, l):
    """
    Returns an element from the list
    
    @param: i is an integer corresponding to the index of the element in the list
    @param: l is a list of elements
    return:
        element of the list if 0 <= i <= len(l) - 1
        None otherwise
    """
    if(i < 0 or i >= len(l)):
        return None
    else:
        return l[i]