結果 : remove character from string based on index python