(Python) Is there a better way to say dictionary_one[max(dictionary_one)]?
5 10 Jul 2015 21:36 by u/Grammor_Jew
I'm just trying to figure out if this is good style.
5 10 Jul 2015 21:36 by u/Grammor_Jew
I'm just trying to figure out if this is good style.
2 comments
1 u/Budro 10 Jul 2015 22:41
Sounds like a great question for /v/python.
0 u/kitanata 11 Jul 2015 16:40
What are you trying to accomplish with this code? This suggests to me that you are trying to get the item in the dict with the most items in it, but that is not what this code does.