Code Review
You ask your colleague to write a function for you describing the formula for the loan amount. She provides the following code.
def calculate_loan_amount(m, r, N):
return m * ((1 + r) ** N - 1) / (r * (1 + r) ** N)
Which of the following comments might you include in an effective code review?
Deze oefening maakt deel uit van de cursus
Case Study: Building Software in Python
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen