Course 4 week 1 exercise 4

Hi I am trying to do the exercise 4 but I get this error;
AssertionError: Wrong value for A[1, 1]

I checked my code but I can’t find the mistake. Can you help me out? Thanks!

{moderator edit - solution code removed}

I think you have the variables backward in your for-loops.
vert uses h.
horiz uses w.

3 Likes