Python statement of financial position report

In of python code to generate the above report