結果 : how to save a print statement in python