結果 : how to write python code step by step