how to remove last character from a list in python code example
Example: how to remove last character from a list in python
test = ["80010","80030","80050"]
newtest = [x[:-1] for x in test]
test = ["80010","80030","80050"]
newtest = [x[:-1] for x in test]