How-to articles, tricks, and solutions about MAX
Getting key with maximum value in dictionary?
You can use the built-in max() function in Python to get the key with the maximum value in a dictionary.
Getting the index of the returned max or min item using max()/min() on a list
You can use the enumerate() function along with max() or min() to get the index of the maximum or minimum item in a list in Python.