結果 : python string replace char by index