while not p == n: while not p1 == 0: sum2 = sum2 + arr[p][p1] p1 -= 1 p += 1 print(sum2)
n = 3 arr= [11][2][4], [4][5]