Question: Write a Python function to solve the type of problem you just went through. It should take an initial loan a mount, a number of
Write a Python function to solve the type of problem you just went through. It should take an initial loan
a mount, a number of days untill payback, and the interest rate. It should return the total amount to payback,
assuming that the interest is compounded daly over the days until payback. Your eeplanation in question
should guide you in how the function should be written.
Note: your explanations do not need to be very lang, but they must be dear, well arganized, spelling proafed,
and well argued.
Grading criteria
You start with points and then lose points as you dorit do something that is required.
: Incorectpoor answer to question
: Incomect poor answer to question
: Incorect poor answer to question
: Incomect poor answer to question
: Incomectincomplete function
HrsH Hrs: Late.
: No submission.
Pythan Functions:
Fairloan!
Must return a value
Takes in: The principal Initial Loan Amount interest rate
Outputs: The payback amount
Sharkloan!?
Must return a value
Takes in: The principal Initial Loan Amount interest rate, days until payback
Outputs: The payback amouint
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
