You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, this is also the case for max().
For example, for finding the most common letter in letters, this is a short way of writing it: most_common = max(set(letters), key=letters.count)
Unfortunately this still throws an error in Codon 0.16.3: error: 'key' is an invalid keyword argument for max()
I have the following code:
When run with Python 3.11.1, I get the expected result printed:
If I try to run it with Codon 0.16.2, I get the following:
Is this expected? I assumed the
key
parameter would be supported formin()
.The text was updated successfully, but these errors were encountered: