import numpy as np
a = np.array([1, 2, 3, 4, 5])
b = a[[0, 1, 2]]
c = a[0:3]
b[0] = -1
c[1] = -1
print(a[0], a[1])
Post #2549
1.1K
Что выведет код?