📌  相关文章
📜  从列表中删除太短的字符串python代码示例

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

代码示例1
list = ["wow", "it will not be remove"]

list = [item for item in list if len(item)>=7]

print(list)

#========   Output   ==================================================
["it will not be remove"]