C3_W2_UNQ_C2 Error expected 0.03 got 0.17

This is the evaluation after submission:
Code Cell UNQ_C2 failed: sq_dist test 2 failed
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.

Hey @Treya_sharma,
Welcome to the community. It seems like you have implemented the sq_dist function incorrectly. Can you please go through your implementation once more, and if you are unable to figure out the issue, please DM me your code for the function.

P.S. - Posting code publicly is against the community guidelines, so, please refrain from doing so.


Thank you
I was able to figure it out.

Hi can you guide me how to solve this function

Hey @Shayan_Chakraborty,
Is your issue resolved? If not, can you please let us know if you are facing an error in the implementation of the function or facing an issue in understanding the function?