bars
💻
Today I Learned
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
python
min and max of dict values
Copy
>>> vals={"a": 2, "b":3, "c": 4}
>>> min(vals, key=lambda x: vals[x])
'a'
Previous
double slash arithmetic operator
chevron-left
Next
python3 match case
chevron-right
Last updated
4 years ago