python shortest element in list code example
Example: python min length list of strings
strings = ["some", "example", "words", "that", "i", "am", "fond", "of"]
print min(strings, key=len)
# prints "i"
strings = ["some", "example", "words", "that", "i", "am", "fond", "of"]
print min(strings, key=len)
# prints "i"