title: I don't understand why, even though I want to display the result of A_inv multiplied by y from variable x1. Can you help me
body: <pre><code>import numpy as np
  
  A = np.array([(2, 3), (1, 2)])
  y = np.array([(23, 14)])
  print(A)
  print(y)
  A_inv = np.linalg.inv(A)
  x1 = np.dot(A_inv, y)
  print(x1)
  </code></pre>
  <blockquote>
  <p>x1 = np.dot(A_inv, y)
  File &quot;&lt;<strong>array_function</strong> internals&gt;&quot;, line 5, in dot
  ValueError: shapes (2,2) and (1,2) not aligned: 2 (dim 1) != 1 (dim 0)</p>
  </blockquote>