AssertionError with model function

I have this error and i cant find what is wrong in my code. Please help

Hi, @Fer_cp. Please do not send a screenshot of your model function as it is a violation of the honor code to post your work.

First, have you passed all previous tests of your functions? The model() function calls a number of these “helper” functions, so any errors in those will propagate to model. If those have passed their tests, than you likely have “hard-coded” arguments to the called functions. Check that those arguments inherit the arguments of the model function.

1 Like

Thank you for the reply!! It helped me to fix the error