摘要: #不能识别逗号 targetStr.rstrip(',') 在知道结尾一定事逗号的情况下,直接丢掉最后一个 targetStr = targetStr[:-1] 简单粗暴 阅读全文
posted @ 2021-01-31 17:05 vaen 阅读(1532) 评论(0) 推荐(0)