BaşlayınÜcretsiz Başlayın

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?

Bu egzersiz

Case Study: Building Software in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat