結果 : write a list to a text file python