📜  python 最小长度字符串列表 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:28.600000             🧑  作者: Mango

代码示例1
strings = ["some", "example", "words", "that", "i", "am", "fond", "of"]
print min(strings, key=len) 
# prints "i"