EasyOutput prediction

sorted() with key=

What does this code print?

words = ['banana', 'fig', 'apple', 'kiwi']
result = sorted(words, key=len)
print(result)

← → arrow keys to navigate

Sign in to save your progress.

sorted() with key= - Python Functional Tools Quiz | Unnested