Contact: aviboots(AT)netvision.net.il
39,959 questions
51,901 answers
573 users
lst = ['0000478364000000', '000843900', '00123470', '010'] lst = [item.strip('0') for item in lst] print(lst) ''' run: ['478364', '8439', '12347', '1'] '''