Yes. Python support slice indexing. arr[start: end]
remember end will be your desired end index + 1.
arr = [1, 2, 3, 4, 5]
if you want to get index from 1 to 3, then use
print(arr[1: 4])
there is a reference link. https://www.geeksforgeeks.org/python-list-slicing/