Contact: aviboots(AT)netvision.net.il
41,231 questions
53,733 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)] '''