Removing a character in a string one at a time
<p>Basically I want to remove a character in a string one at a time if it occurs multiple times .</p>

<p>For eg :- if I have a word abaccea and character 'a' then the output of the function should be baccea , abacce , abccea.</p>

<p>I read that I can make maketrans for a and empty string but it replaces every a in the string.</p>

<p>Is there an efficient way to do this besides noting all the positions in a list and then replacing and generating the words ??  </p>
