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?
No error will be returned. Python will work with the indexes that are present.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.