What would be the best way to find the index of a specified character in a list containing multiple characters?
>>> ['a', 'b'].index('b') 1
If the list is already sorted, you can of course do better than linear search.
1.4m articles
1.4m replys
5 comments
57.0k users