title: Getting value error while performing numpy.dot()
body: <p>I created two arrays using numpy:</p>
  
  <pre><code>import numpy as np    
  a = np.array([[1, 5, 7], [6, 8, 9]])
  b = np.array([[1, 8, 8], [5, 8, 0], [8, 9, 0]])
  np.dot(a, b)
  </code></pre>
  
  <p>Now, while performing <code>np.dot(a, b)</code> I am getting the error :</p>
  
  <blockquote>
    <p>ValueError: operands could not be broadcast together with shapes (2,3) (3,3) .</p>
  </blockquote>
  
  <p>Normally, value error is raised if the last dimension of a is not the same size as the second-to-last dimension of b. What is wrong with my code?</p>