Liste des Groupes | Revenir à cl c |
On 18/06/2024 23:49, Keith Thompson wrote:[...]Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:key specifies a function of one argument that is used to extract a
[...]And it didn't take long to get Python to sort the list alphabetically,<OT>
but there seemed no way in to the sort comparision function
itself. And I had to give up.
https://docs.python.org/3/library/functions.html#sorted
https://docs.python.org/3/library/stdtypes.html#list.sort
</OT>
comparison key from each element in iterable (for example,
key=str.lower). The default value is None (compare the elements directly).
>
You see the problem.
Les messages affichés proviennent d'usenet.