Q. Write a program that inputs total capital and total liabilities and prints total assets.
(assets = liabilities + capital)
Answer =
total_capital = float(input("Enter total capital :-")) total_liabilities = float(input("Enter total liabilities :-")) print("Total assets = ", total_liabilities + total_capital )
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )