Flowchart And Algorithm In Python