I have a list like
[1, 2, 43, 56 ,54, 6 ,64, 0, 564, 0, 0, 54, 35, 0, 345, 04, 3, 53, 0, 0, 0, 0, 0, 0, 0]
How can i just remove the trailing 0’s here not the 0 in the middle or start?
Result: [1, 2, 43, 56 ,54, 6 ,64, 0, 564, 0, 0, 54, 35, 0, 345, 04, 3, 53]
Thanks.