Как удалить все символы из строки в Python
s = 'abc12321cba'
print(s.replace('a', ''))
Disturbed Dove
s = 'abc12321cba'
print(s.replace('a', ''))
sep = '...'
stripped = text.split(sep, 1)[0]
for char in line:
if char in " ?.!/;:":
line.replace(char,'')
text = input()
sep = '...'
stripped = text.split(sep, 1)[0]
print(stripped)
import re
inputt = input()
# write the characters you want to remove in square brackets
line = re.sub('[ie]', '', inputt)
print(line)