# Program to check whether a matrix is symmetric or not # Get size of matrixrow_size=int(input("Enter the row Size Of the Matrix:"))col_size=int(input("Enter the columns Size Of the Matrix:"))matrix=[]# Taking input of the 1st matrixprint("Enter the Matrix Element:")for i in range(row_size):    matrix.append([int(j) for j in input().split()])if row_size!=col_size:    print("Given Matrix is not a Square Matrix.")else:    #compute the transpose matrix    tran_matrix = [[0 for i in range(col_size)] for i in range(row_size)]    for i in range(0, row_size):        for j in range(0, col_size):            tran_matrix[i][j] = matrix[j][i]# check given matrix elements and transpose# matrix elements are same or not.flag=0for i in range(0, row_size):    for j in range(0, col_size):        if matrix[i][j] != tran_matrix[i][j]:            flag=1            breakif flag==1:    print("Given Matrix is not a symmetric Matrix.")else:    print("Given Matrix is a symmetric Matrix.")