how to add a 2d array code example
Example: how to add elements in 2d array in python
n,m=int(input()),int(input())
for i in range(0,n):
for j in range(0,m):
a[i].append(int(input()))
n,m=int(input()),int(input())
for i in range(0,n):
for j in range(0,m):
a[i].append(int(input()))