I have a list of lists and I want to find the max value by one index in the lists, in this case [5].
Once I have the max value, how would I find where that occurs and return the first element of that list?
For example:
inputlist = [[70, 'Cherry St,', 43.684371, -79.316756, 23, 9, 14, True, True],
[78, 'Cow Rd', 43.683378, -79.322961, 15, 13, 2, True, False]]
How can I get my function to return 78 as it contains the maximum value of index[5] in my list of lists?