Because .index() always returns the first occurrence of an element I'm struggling to find all the indexes of an element with multiple occurences but in a multidimensional list. For example:
main_list=[["Name1",[21,22,25]],
["name2",[25,21,24]],
["name3",[29,21,24]]]
How would I find all indexes of main_list.index(25)?The search should return the "name1" and "name2"