結果 : how to remove a string after a character in python