What does np.arange(0, 10, 2) produce in Python?
Correct answer
A. [0 2 4 6 8]
11 views
A. [0 2 4 6 8]
11 views
arange excludes the stop value.
Asked in: Python Interview Data Libraries
https://docs.python.org/3/library/index.htmlNot sure why the answer is A? Ask here and get an explanation.