I'm relatively new to Python (2.7 import future) so please forgive me if this is a stupid question.
I've got a dictionary of values[key]
. I'm trying to get the second highest value
from the list, but write readable code. I could do it by mapping to sortable types, but it's confusing as hell, and then I would have to juggle the key
. Any suggestions for how to do it cleanly would be much appreciated.