string=input('enter string:') char=input('enter character you want to remove:') strr=string.replace(char,'') print('string after removing',char,'character: ',strr)
string=input('enter string:') char=input('enter character you want to remove:') strr=string.replace(char,'') print('string after removing',char,'character: ',strr)