Consider the following Python code with which I add in a new list2 all the items with indices from 1 to 3 of list1:
list2
list1
for ind, obj in enum
list2 = [x for ind, x in enumerate(list1) if 4 > ind > 0]