Python program to get the NumPy version

In this python numpy program, we will get the NumPy version installed in your IDE.

Steps to solve the program
  1. Import the numpy library as np.
  2. 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.

Leave a Comment