fork download
  1. import numpy
  2.  
  3. M = numpy.zeros(shape = (5,2))
  4. M[0][1]=77
  5. M = M/(numpy.sum(M))
  6. print(numpy.sum(M))
  7. #print(M)
Success #stdin #stdout 0.14s 24768KB
stdin
Standard input is empty
stdout
1.0