Question: python. I currently have this list of dictionaries: loan_list = [{'year': 0, 'beginning_balance': 0, 'interest_expense': 0.0, 'cash_flow': 1000, 'ending_balance': 1000.0}, {'year': 1, 'beginning_balance': 1000.0, 'interest_expense':
python.
I currently have this list of dictionaries:
loan_list = [{'year': 0, 'beginning_balance': 0, 'interest_expense': 0.0, 'cash_flow': 1000, 'ending_balance': 1000.0}, {'year': 1, 'beginning_balance': 1000.0, 'interest_expense': 38.565335000228785, 'cash_flow': -200, 'ending_balance': 838.5653350002287}, {'year': 2, 'beginning_balance': 838.5653350002287, 'interest_expense': 32.3395530638629, 'cash_flow': -300, 'ending_balance': 570.9048880640917}, {'year': 3, 'beginning_balance': 570.9048880640917, 'interest_expense': 22.017138261459813, 'cash_flow': -150, 'ending_balance': 442.9220263255514}, {'year': 4, 'beginning_balance': 442.9220263255514, 'interest_expense': 17.081436324225045, 'cash_flow': -123, 'ending_balance': 337.00346264977645}, {'year': 5, 'beginning_balance': 337.00346264977645, 'interest_expense': 12.996651433325718, 'cash_flow': -350, 'ending_balance': 0.0001140831021757549}]
And I have to print it to look like this:

Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
