python remove number of a character from string code example Example: how to delete specific char in string python a_string = a_string.replace("d", "")