Steven D'Aprano added the comment:
The code makes perfect sense. If you want to find the maximum key in a dict,
you write:
max(collective_signals)
If you want to find the maximum key according to some key function, you write:
max(collective_signals, key=function)
If you want to fi
New submission from Masoud Azizi :
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: