Answers for "np.array([range(i, i+3) for i in [2, 4, 6]])"

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

Python Answers by Framework

Browse Popular Code Answers by Language