Skip to content
RED SAG Skills
mediumStudy question · answer published in Python interview questions, so no pointspythonsorting

Sorting words by length

What does this print?

words = ["bb", "a", "cc", "d"]
print(sorted(words, key=len))
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions