結果 : python code to flow chart