examples/numpy/indexing_1d_array.py
from __future__  import print_function
import numpy

a = numpy.array([1, 1, 2, 3, 5, 8, 13, 21, 34])
print(a)       # [ 1 1 2 3 5 8 13 21 34]

print(a[4])    # 5
print(a[2:5])  # [2 3 5]