cara menghapus karakter terakhir dari daftar dalam python

test = ["80010","80030","80050"]
newtest = [x[:-1] for x in test]
Defiant MoMo