結果 : python write all elements of list to file