結果 : remove text in square brackets python