Lesson 5 

You don't need to re-declare this function here and, in fact, that defeats the benefit. Instead, just call it, eg:

    rate = def_get_interest_rate(PRINCIPAL, DURATION, PREQUALIFICATION)

The same can be applied to call interest rate.

When you def a function it's available to be used *inside* other functions.