write flowcharts in the Python language, translate Python source codes into flowcharts.