In this python numpy program, we will get the NumPy version installed in your IDE.
Steps to solve the program
- Import the numpy library as np.
- Print the version of the installed numpy library using np.__version__.
import numpy as np
print(np.__version__)
Output :
1.20.1
test whether none of the elements of a given array is zero.