Week 2 programming assignment - exercise6 (normalize-rows)

Hi everyone,
I have a problem in this exercise that I do not know where is my mistake that do not get the right running. If anybody can help me, I would appreciate. I want to share the code here.

{moderator edit - solution code removed}

Note that you are not assigning the output of the np.linalg.norm call to any variable, so it will be discarded. I think it is not a good idea to use the normalizeRows function in the way you did.

Also please note that it’s against the rules to just post your solution source code and say, in effect, “please fix it for me”. Instead, please start by showing us the error output that you are getting. We can usually help you based on that.