結果 : how to write a flowchart in python