Slicing Lists


#1

When you are slicing a list and include an index value that is not currently in your list, will Python just slice till the last item of your list or will it return an error?


#2

No error will be returned. Python will work with the indexes that are present.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.