結果 : replace every nth character in string python