Calculus course from the solution of machine learning there is an error in the first week assignment

Week 1

Why does this error appear? although all the answers are correct, is there a solution?..

I did not have that problem. Are you sure you didn’t change the definition of the function? Or modify the test file?

Actually there are a number of threads about this problem. It means you have an old copy of the notebook or an old copy of the utility file that has the test cases. Please see this thread for instructions.

I agree with @paulinpaloalto - generally an error about the number of positional arguments means one of your files is obsolete (a .py file or the .ipynb notebook).

Thank you, the problem was solved after following the steps