📜  python如何从字符串中删除n - Python代码示例

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

代码示例2
mylist = []
# Assuming that you have loaded data into a lines variable. 
for line in lines:
    mylist.append(line.strip().split('\t')