s = 'abc12321cba' print(s.replace('a', ''))
Here is what the above code is Doing:
1. We create a string variable called s.
2. We print the string variable s.
3. We print the string variable s with the replace method.
4. We print the string variable s with the replace method and the empty string.