結果 : how to write to stdout in python