fork download
  1. C= [[1,2,3],[4,5,6],[7,8,9]]
  2.  
  3. total = 0
  4. for row in C:
  5. for x in row:
  6. total +=x
  7. print(total)
Success #stdin #stdout 0.04s 9544KB
stdin
Standard input is empty
stdout
45