i have this piece of code
x=3
a=x*[x*[0]]
for i in range(0,x):
   for j in range(0,x):
       dt=int(input("insert data: "))
       a[i][j]=dt
       print(a)
and it's supposed to just add the numbers when is asked, but for some reason it fills the numbers in all the rows
 
    