import numpy as np
a = [511]
print(a)
print(type(a))
b = a*3
print(b)
c = np.array(a)
print(c)
print(type(c))
d = c*3
print(d)
D:/data/test.py
[511]
<class 'list'>
[511, 511, 511]
[511]
<class 'numpy.ndarray'>
[1533]
Process finished with exit code 0