how to get rid of select characters in string python code example Example: take off character in python string s = 'abc12321cba' print(s.replace('a', ''))