我有一个列表,最后一个列表项有一个\n
我不想要的。
print(list)
[somebody,please,help\n] #what I have
print(list)
[somebody,please,help] #desired list
我有一个列表,最后一个列表项有一个\n
我不想要的。
print(list)
[somebody,please,help\n] #what I have
print(list)
[somebody,please,help] #desired list