python delete character in a string text code example Example: take off character in python string s = 'abc12321cba' print(s.replace('a', ''))