結果 : remove last character from string in list python