4. Monu had the following transactions:
1. Started business with cash 1,00,000.
2. Deposited cash into bank60,000.
3. Bought a machine by raising a bank loan 50,000.
4. Bought goods for cash 20,000 and on credit 40,000.
5. Goods bought for cash was sold to Amit 25,000.
6. Amit returned goods worth 5,000.
7. Amit settled his account by paying 19,500.
8. Paid instalment of bank loan 20,000 and paid interest by cheque 2,000.
9. Charge 10% depreciation on machine.
Answers & Comments
[tex]\color{Red}\huge{\mathcal{\boxed{Answer:}}}[/tex]
def monu_closing_balance():
"""Calculates Monu's closing balance."""
cash = 100000
bank = 60000
goods_cash = 20000
goods_credit = 40000
sales = 25000
return_goods = 5000
payment = 19500
interest = 2000
depreciation = 0.1 * 50000
total_transaction = cash + bank + goods_cash + goods_credit - sales + return_goods + payment - interest - depreciation
return total_transaction
print(monu_closing_balance())