while i try to run the below code it is showing numpy module is not found.
so please make sure to update the numpy module in the server.
import numpy as np
for _ in range(int(input())):
n = int(input())
a =
for x in range(n):
a.append(list(map(int,input().split())))
a=np.array(a)
sums = [a.trace()]
for x in range(1,n):
print(a[0:n-x,x:n])
sums.append(a[0:n-x,x:n].trace())
print(a[x:n,0:n-x])
sums.append(a[x:n,0:n-x].trace())
print(max(sums))