fork download
  1. M=[[7,0],
  2. [1,5]]
  3.  
  4.  
  5.  
  6. def siu(M):
  7. s=0
  8. for i in range(len(M)):
  9. for j in range(len(M[0])):
  10. s+=M[i][j]
  11. return s
  12.  
  13. print(siu(M))
Success #stdin #stdout 0.04s 9560KB
stdin
Standard input is empty
stdout
13