Q. From a balance sheet of a company (choose any from your Accountancy book) and create lists for assets, liabilities and equity. Then write a program to check if accounting equation is balanced or not. The program should also calculate Return on

Total Assets as


EBIT (Earning Before Interest and Taxes) / Total Net Assets


and Debt/Equity ratio as


Total Liabilities / Assets - Liabilities



Answer = 


assets = eval(input("Enter assets list :-"))
liabilitie = eval(input("Enter liabilitie list :-"))
equity = eval(input("Enter equity list :-"))

for i in range( len(equity ) ) :
    print("for item number ",i)
    if assets[ i ] == liabilitie[ i ] + equity[ i ] :
        print("Balanced")
    else:
        print("Not Balanced")
    print("Debt/Equity ratio = ", sum(liabilitie) / ( assets[ i ] - liabilitie[ i ] )  )


6 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. Thank you for this answers.

    ReplyDelete
  2. suggest me a value to enter in the asset,liability and equity side, please

    ReplyDelete
  3. thank you really helpful

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post