Answers for "What will be the output of the following program: import numpy as np arr = np.array([1,2,3,4]) arr1 = arr+4 print(arr1)"

5

how to import numpy array in python

>>> import numpy as np
>>> a = np.array([0, 1, 2, 3])
>>> a
array([0, 1, 2, 3])
Posted by: Guest on April-21-2020

Code answers related to "What will be the output of the following program: import numpy as np arr = np.array([1,2,3,4]) arr1 = arr+4 print(arr1)"

Python Answers by Framework

Browse Popular Code Answers by Language