Feb-09-2021, 07:57 AM
(Feb-09-2021, 07:44 AM)Fernando_7obink Wrote: it cant work because the sorted() only work on string or number typedo you know that
sorted()
takes optional key
argument? it takes a function that is applied to each element and result is used for the sort.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs