Paste Search Dynamic
print arr
  1. import numpy as np
  2. arr = np.array([1,2,3,4,5,6,7])
  3. print(arr[-3:-1])
Parsed in 0.001 seconds