3 == 5

import numpy as np

x = np.random.randint(1, 10, 10)

x

x < 5

x > 3

x >= 4

x == 8

x = np.array(['red', 'blue', 'yellow'])

x == 'red'

x = np.array([True, False, True])

y = np.array([True, False, False])

~x

x & y

x | y

x ^ y

x = np.random.randint(40, 100, (3, 5))

x

(x >= 60) & (x < 80)

(x < 60) | (x > 90)

