As an input, I get a master list containing child lists (with variable count).
masterList = [[23,12],[34,21],[25,20]]
Number of child lists varies. 3 child lists are shown here, but the number can vary.
I wish to get max of first records and min of second records.
In this case, I know I can hard code like this...
maxNum = max(masterList[0][0], masterList[1][0], masterList[2][0])
How do I write a module for accepting masterList with varying number of child lists and getting max, min?
Thanks.