# welcome to softhunt.net # Python program explaining # invert() function import numpy as np arr = [3, 4, 54] print ("Input array : ", arr) ans = np.invert(arr) print ("Output array after inversion: ", ans)