結果 : write list of strings into file python