I need a list of max values per key. In the following example:
mydict = {
"day1": [[9],[2],[3]],
"day2": [[4],[5],[6]],
"day3": [[3],[2],[1]]
}
what I need is something like result=[9,6,3]
I tried:
result = max(map(max, i) for i in worksheet.values())
but it just returns me the first key value. As always, thank you very much in advance.