結果 : flowchart into python code