Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

NumPy invert Code When the input is an array

# 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)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #NumPy #invert #Code #When #input #array
ADD COMMENT
Topic
Name
2+5 =