結果 : how to write test file in python