Remove given Character from String

PHOTO EMBED

Wed Dec 21 2022 14:48:29 GMT+0000 (Coordinated Universal Time)

Saved by @sukumar #python

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