Softsuave Interview Question

removing character in a given string

Interview Answer

Anonymous

Sep 24, 2022

Use replace method to remove character in given string Ex: str='substring' res=str.replace('b','') print(res) Output: sustring