📌  相关文章
📜  如何从python代码示例中的列表中删除最后一个字符

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

代码示例1
test = ["80010","80030","80050"]
newtest = [x[:-1] for x in test]