結果 : flowchart using python code