fork(1) download
  1. import numpy as np
  2.  
  3. a = np.array([1, 2, 3, 2])
  4. b = np.array([2, 2, 3, 2])
  5. c = np.array([6, 4, 4, 5])
  6. res = ((a <= b) & (b <= c)).all()
  7. print(res)
  8.  
  9.  
Success #stdin #stdout 0.14s 24908KB
stdin
Standard input is empty
stdout
True