```py class Lists: def listslice(list:list,ind1:int,ind2:int) -> list: list1 = list for _ in range(ind1,ind2 + 1): list1.remove(list1[0]) return list1 print(Lists.listslice([1,2,3,4,5],0,3))```
you understand that you are modifying that list in place, right?