結果 : convert flowchart to python code