結果 : how to write a list to file python