input
5 1 4 6 2 0 5 4 4 5 4
my code
import numpy as np
ARR = np.asarray( list(map(int, input().strip().split())) )
print(ARR)
output got
[5 1 4 6 2 0 5 4 4 5 4]
output expected
[5, 1, 4, 6, 2, 0, 5, 4, 4, 5, 4]
In particular, I either want to make a separated list, then convert to Numpy array, or do it all in one command line
print(list(map(int, input().strip().split())))orprint(ARR.tolist()).numpy.set_printoptionsshould support this.print(repr(ARR))