# Find the sum of all elements in a 2D Array # 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 matrixprint("Enter the Matrix Element:")for i in range(row_size):    matrix.append([int(j) for j in input().split()])# Calculate sum of given matrix Elementssum=0for i in range(0,row_size):    for j in range(0,col_size):        sum+=matrix[i][j]# Display The Sum Of Given Matrix Elementsprint("Sum of the Given Matrix Elements is: ",sum)