Getting key with maximum value in dictionary?

max(stats, key=stats.get)

Leave a Comment