# welcome to softhunt.net
# Python program explaining
# invert() function
import numpy as np
num = 5
print ("Input number : ", num)
ans = np.invert(num)
print ("inversion of 5 : ", ans)
# 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)