def print_upper_triangular_matrix_as_complete(matrix):
    """Prints a CVRP data dict upper triangular matrix as a normal matrix
    
    Doesn't print headers.
    
    Arguments
    ---------
    matrix : dict
        Description
        
    """
    for i in sorted(matrix.keys()):
        for j in sorted(matrix.keys()):
            a, b = i, j
            if a > b:
                a, b = b, a

            print(matrix[a][b], end=' ')

        print()
def print_upper_triangular_matrix_as_complete ( matrix ) : for i in sorted ( matrix . keys ( ) ) : for j in sorted ( matrix . keys ( ) ) : a , b = i , j if a > b : a , b = b , a print ( matrix [ a ] [ b ] , end = ' ' ) print ( )
Prints a CVRP data dict upper triangular matrix as a normal matrix
    
    Doesn't print headers.
    
    Arguments
    ---------
    matrix : dict
        Description