Using Python 3.8
I am simply using min(list_of_list)
and this seems to do the job.
lst_of_list = [[9,10,15], [1,8,4], [-3,999,9999]]
min(lst_of_list) = [-3,999,9999]
lst_of_list = [[26, 40, 83], [49, 60, 57], [13, 89, 99]]
min(lst_of_list) = [13, 89, 99]
and other cases worked as I wanted.
From lots of stackoverflow questions they do not simply use min(lst_of_list)
and in the documentation it says. "The smallest item in the iterable is returned". So in lst_of_list
each list would be an item so I thought min(lst_of_list)
returns list with minimum sum, mean, etc... But this doesn't make sense either.
Does min(lst_of_list)
find lowest value in list of lists and return list containing lowest value or is there something I am missing therefore this method is not appropriate?