Ответ:
import random
x=int(input())
a=[]
c=0
q=0
w=0
for i in range(x):
a.append([])
for j in range(x):
a[i].append(random.randint(10,100))
print(a)
for i in range(x):
q+=1
for j in range(x):
w+=1
if a[i][j]>c:
c=a[i][j]
print( 'a[',q,',',w,']=', c)
for i in range(x):
q+=1
for j in range(x):
w+=1
if a[i][j]
c=a[i][j]
print( 'a[',q,',',w,']=', c)
Объяснение: