#list-operations

[ follow ]
Paddy3118
2 months ago
Python

Finding a sub-list within a list, in Python

Using list.index can simplify the search algorithm for finding a sub-list.
Implementing try-except blocks is necessary when using list.index to handle errors. [ more ]
[ Load more ]