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 ] ) )
Thank you for this answers.
ReplyDeleteWelcome ^_^
Deletesuggest me a value to enter in the asset,liability and equity side, please
ReplyDeleteYou can input any list of same size.
Deletethank you really helpful
ReplyDeleteWelcome 😊😊😊
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )