- Home
- Assessment

7 / 26

```
The internal rate of return (IRR) is a metric used in financial analysis to estimate the profitability of potential investments. IRR is a discount rate that makes the net present value (NPV) of all cash flows equal to zero in a discounted cash flow analysis.
```

- import numpy as np, an inbuilt function in python to calculate IRR.
The step should look like:

**import numpy as np**To find the value of IRR, use the following step:

**IRR = np.irr([Cashflows])**

XP

Taking you to the next exercise in seconds...

Want to create exercises like this yourself? Click here.

Checking Please wait.

Success

Error

No hints are availble for this assesment

Fetching answer, please wait...

Error

**Note - **Having trouble with the assessment engine? Follow the steps listed
here

## Loading comments...