더북(TheBook)
import numpy as np

vec = np.array( [ 19, 29, 39, 49 ] )
vec[ -4 ]

 

결과

19
vec[ -3 ]

 

결과

29
vec[-2]

 

결과

39
vec[-1]

 

결과

49