Issues with exercises 5 and 6 in the capstone assignment

I am getting the following errors

On exercise 5:
here was an error grading your submission. Details:
ufunc ‘subtract’ did not contain a loop with signature matching types (dtype(‘<U31’), dtype(‘float64’)) → None

On exercise 6:
Unable to find object required for grading in your code.

Any thoughts on how to address the above?

Hi Khalil. As per your submission via DM, the problem is you imported some extra packages (math and numpy). You can just use the sqrt function in ex 6 directly because it’s already imported in the boilerplate code. Extra imports are not detected by the grader. You also don’t need the map() and tuple() methods in the last step. After fixing those, you should get the perfect score. Hope this helps!