Contact: aviboots(AT)netvision.net.il
39,870 questions
51,793 answers
573 users
tplList = [("py_thon", 4), ("ja_va", 1), ("c_", 10)] char = "_" tplList = [(tpl[0].replace(char, ''), tpl[1]) for tpl in tplList] print(tplList) ''' run: [('python', 4), ('java', 1), ('c', 10)] '''