結果 : how to write rows in python