結果 : remove last part of a string python