python find the shortest string in a file 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"