title: How to get the shape of an array created with np.random.randint(1,7,(10,3))
body: <p>As you see, I created and array but I specify a tuple as the third argument. I thought that I would simply do this code to get the shape.</p>
  <pre><code>X.shape()
  </code></pre>
  <p>But I receive an error stating that <strong>a tuple was not callable</strong>. I am using numpy v1.23 with python 3.10.4 and inside the console of Spyder 5.</p>
  <p>Any suggestion to get that result?</p>
  <p>Thank you in advance for your help.
  Mario</p>
  <p>I Google it and I never find the answer I am looking for</p>