結果 : write a python program to remove last occurrence of a character in a string