Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started