I have a problem with my code week2

in the exercise 5 I have this:

[code removed - moderator]

but I have the error:
ValueError: shapes (1,3) and (1,3) not aligned: 3 (dim 1) != 1 (dim 0)

someone help me please!!!

Dot product can be performed only when inner dimensions match. Please brush up on matrix multiplication and understand how to use the transpose operation correctly.

Here’s a thread which discusses the issues here. Please have a look and see if that sheds any light.