📜  摆脱字符串中的 n 代码示例

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

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