intent: What's the fastest way to locate a list element within a list in python?
rewritten_intent: find the index of a list with the first element equal to '332' within the list of lists `thelist`
snippet: [index for index, item in enumerate(thelist) if item[0] == '332']