Sorting by a key: what does print(sorted(['kiwi', 'fig', 'banana'], key=len)) show?
Log in to join the discussion.
Loading…