You can download this code by clicking the button below.
This code is now available for download.
Sorts a list of strings by their length
Technology Stack : Built-in function sorted, key parameter
Code Type : Function
Code Difficulty :
def a_sort_list_by_length(list_of_strings):
return sorted(list_of_strings, key=len)