Multiple Choice

How to create 1D Array?

Create a 1D array of numbers from 0 to 9 and assign it to variable "arr". Assume the necessary libraries have been imported.

Output should be: array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])

0

1

Updated 2020-09-09

Tags

Data Science