Let's say I have a list:
def returnBiggestStartingList:
L1 = [ [1,2,3,4], [5,6,7,8], [7,8,9,10] ]
I want to return one of the lists inside L1. The one I want to return is the one where the 0th element is the biggest. For example, in the example above I want to return L1[2] because it's first element is higher than the first element of all the other arrays (7 is bigger than 1 and 5).
I also need to account for if the 0th element is the same in one or more lists, if that is the case I would move onto the second element and compare those (so on and so forth)
Anyone know how I can do this?