fork(1) download
  1. # your code goes here
  2. a=[[1,2,3],[1,2,3], [1,2,3]]
  3. b=[[1,2,3],[1,2,3], [1,2,3]]
  4. c=[[0,0,0],[0,0,0],[0,0,0]]
  5. for i in range(3):
  6. for j in range(3):
  7. c[i][j]=a[i][j]+b[i][j]
  8. print(c[i][j], end=" ")
  9. print()
  10.  
  11.  
Success #stdin #stdout 0.02s 9016KB
stdin
Standard input is empty
stdout
2 4 6 
2 4 6 
2 4 6