python min length of string 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"