I passed all the unit tests except the final one.

I get the loss value 3 , but I don’t know what’s wrong.

Could someone please help me?

blow are the values I got in the final unit test

One guess is that maybe your final logic for converting the *basic_loss* to the *loss* is incorrect. E.g. maybe you are taking the max of the sum, instead of the sum of the max values. It’s worth another careful comparison of that logic to what the instructions say for that step. Note that the previous test cases give the same answer with the order reversed. Although with that mistake, you wouldn’t get the correct final “Expected Value” for that test cell. Note that the test doesn’t “throw” if that value doesn’t match.

2 Likes

Thank you so much!!!

You are right, I did take the max of the sum, instead of the sum of the max values.

Thank your for the help