import numpy as np arr = np.array([1, 2, 3, 4, 5]) print(arr) print(type(arr))
Standard input is empty
[1 2 3 4 5] <class 'numpy.ndarray'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!