結果 : python remove substring at end of string