Run
x= 'banana' search = 'a' output = x.replace(search, '') print(f'Input string : {x}') print(f'Output string : {output}')
Output