python find shortest string in list code example
Example 1: python min length list of strings
strings = ["some", "example", "words", "that", "i", "am", "fond", "of"]
print min(strings, key=len)
# prints "i"
Example 2: how to find the longest string python
max(a_list, key=len)