Issues with Build a Polygon Area Calculator

There are some issues where text is not being rendered correctly in this problem:

get_area: Returns area (( \text{width} \times \text{height} )).
get_perimeter: Returns perimeter ( 2(\text{width} + \text{height}) ).
get_diagonal: Returns diagonal ( \sqrt{\text{width}^2 + \text{height}^2} ).

I assume this is supposed to be something like:

get_area: Returns area (width * height).
get_perimeter: Returns perimeter ( 2 * (width + height) ).
get_diagonal: Returns diagonal ( sqrt(width**2 + height**2)).

It’s also ambiguous as whether it wants you to specifically use math.sqrt() or if something like ((width**2 + height**2) ** 0.5) would also be fine…

Screenshot:

For what it’s worth: I did manage to pass this section, so my assumptions must have been correct.

I did not import sqrt() from math or cmath, I used the trick mentioned above (for some positive number n, the square root of n is equal to n to the power of 0.5).

Thanks for the report. I’ve created issue for it in the freeCodeCamp’s GitHub repository - MathJax not rendering in Python v9 lab · Issue #64265 · freeCodeCamp/freeCodeCamp · GitHub