import numpy as np a = np.array([1, 2, 3, 2])b = np.array([2, 2, 3, 2])c = np.array([6, 4, 4, 5])res = ((a <= b) & (b <= c)).all()print(res)
Standard input is empty
True
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!