Contact: aviboots(AT)netvision.net.il
39,885 questions
51,811 answers
573 users
def remove_chars(s, chars_to_remove): if len(s)== 0: return 'false' for ch in chars_to_remove: s = s.replace(ch, '') return s s ='python programming' chars_to_remove ='pthm' s = remove_chars(s, chars_to_remove) print(s) ''' run: yon rograing '''