The code as below...
>>> A
array([[1, 2],
[3, 4]])
>>> b
array([5, 6])
>>> A.dot(b) # <------- this is not possible in math
array([17, 39]) # <------ and the result should be 2x1 matrix instead of 1x2 matrix.
>>> A.dot(b.T) # <------- this is a bit better
array([17, 39]) # <------ but the result is still not well formed.
>>>