fork download
  1. import numpy
  2.  
  3. x = numpy.array([[0, 1],
  4. [1, 0]])
  5. x.sort()
  6.  
  7. print(repr(x))
Success #stdin #stdout 0.21s 27200KB
stdin
Standard input is empty
stdout
array([[0, 1],
       [0, 1]])