ankara escort
malatya escort
NumPy Exercises

NumPy: Print the NumPy version in your system

NumPy: Array Object Exercise-1 with Solution

Write a NumPy program to print the NumPy version in your system.

Sample Solution:-

Python Code:

import numpy as np

Sample Output:


NumPy version:

class numpy.lib.NumpyVersion(vstring): Parse and compare numpy version strings.

New in version 1.9.0.
Parameters vstring : str
NumPy version string (np.__version__).

Python Code Editor:

Have another way to solve this solution? Contribute your code (and comments) through Disqus.

Previous: NumPy Array Object Exercises Home.
Next: Write a NumPy program to convert a list of numeric value into a one-dimensional NumPy array.

What is the difficulty level of this exercise?

New Exercises:R Programming