(lst, indexa, indexb)
Swaps elements A and B in a 2D list (matrix).

    Example:
       >>> l = [ [1,2,3], [4,5,6] ]
       >>> Util.list2DSwapElement(l, (0,1), (1,1) )
       >>> l
       [[1, 5, 3], [4, 2, 6]]

    :param lst: the list
    :param indexa: the swap element A
    :param indexb: the swap element B
    :rtype: None
Swaps elements A and B in a 2D list (matrix).
Swaps elements A and B in a 2D list ( matrix ) .
def list2DSwapElement(lst, indexa, indexb):
    """ Swaps elements A and B in a 2D list (matrix).

    Example:
       >>> l = [ [1,2,3], [4,5,6] ]
       >>> Util.list2DSwapElement(l, (0,1), (1,1) )
       >>> l
       [[1, 5, 3], [4, 2, 6]]

    :param lst: the list
    :param indexa: the swap element A
    :param indexb: the swap element B
    :rtype: None

    """
    temp = lst[indexa[0]][indexa[1]]
    lst[indexa[0]][indexa[1]] = lst[indexb[0]][indexb[1]]
    lst[indexb[0]][indexb[1]] = temp
def list2DSwapElement ( lst , indexa , indexb ) : temp = lst [ indexa [ 0 ] ] [ indexa [ 1 ] ] lst [ indexa [ 0 ] ] [ indexa [ 1 ] ] = lst [ indexb [ 0 ] ] [ indexb [ 1 ] ] lst [ indexb [ 0 ] ] [ indexb [ 1 ] ] = temp