Closed lucafrance closed 1 year ago
Probably also exercise 10 should be removed or updated to use a different function.
Write a program to sort words by length. Define a helper function
cmp_len
which uses thecmp
comparison function on word lengths.
Thanks @lucafrance I'd be grateful if you could report that as a separate issue please.
The Python 2 function
cmp
has been removed Python 3. From https://docs.python.org/3.0/whatsnew/3.0.html#ordering-comparisonsThis is related to #201