[New-bugs-announce] [issue45989] Getting key of max value of dict really dose not sense
Masoud Azizi
report at bugs.python.org
Sun Dec 5 12:37:28 EST 2021
New submission from Masoud Azizi <mablue92 at gmail.com>:
Maximum_signal_key=max(collective_signals,key=collective_signals.get)
This code is really hard to learn and remember.
Please change it to something that more sense.
----------
messages: 407719
nosy: mablue
priority: normal
severity: normal
status: open
title: Getting key of max value of dict really dose not sense
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45989>
_______________________________________
More information about the New-bugs-announce
mailing list