結果 : remove the last 3 characters from a string python