Code inversé Numpy lorsque l'entrée est un tableau

# 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)
Outrageous Ostrich