Numpy Invert Code saat input adalah Boolean

# welcome to softhunt.net
# Python program explaining
# invert() function

import numpy as np

bool = [True, False, False, True, False, True]
print("Input array : ", bool)

	
ans = np.invert(bool)
print ("Output array after inversion: ", ans)
Outrageous Ostrich