Nehmen Sie den Charakter in der Python -Saite aus
s = 'abc12321cba'
print(s.replace('a', ''))
Disturbed Dove
s = 'abc12321cba'
print(s.replace('a', ''))
>>> string = 'This is a string, with words!'
>>> string.split()
['This', 'is', 'a', 'string,', 'with', 'words!']