Based on the latest error message, I can see you have made some progress! Great work @26_Komal_Kamble!
However, the dj_db value is still incorrect, and I suspect it is due to a problem in your calculation of z_wb. I need you to check very very carefully if you have missed anything there. For example, z_wb is supposed to be accumulating some values as you loop over range(n), is it in your code that it is accumulating values?
You need to ask yourself these: how can I tell whether it is accumulating values or not? what does it look like in code? is it there in my code?
The code block structure is incorrect. The first ‘For’ statement is for looping through all examples, indexed by i to m. The second ‘For’ statement should be inside the first ‘For’ statement because we are working through each feature of an example, indexed by j to n.
Please read the hints and try to understand what your code is required to do.