結果 : remove first and last bracket from string in python