title: Generate random int in 3D array
body: <p>l would like to generate a random 3d array containing random  integers (coordinates)  in the intervalle [0,100].</p>
  
  <p>so, <code>coordinates=dim(30,10,2)</code></p>
  
  <p>What l have tried ?</p>
  
  <pre><code>coordinates = [[random.randint(0,100), random.randint(0,100)] for _i in range(30)]
  </code></pre>
  
  <p>which returns</p>
  
  <pre><code>array([[97, 68],
         [11, 23],
         [47, 99],
         [52, 58],
         [95, 60],
         [89, 29],
         [71, 47],
         [80, 52],
         [ 7, 83],
         [30, 87],
         [53, 96],
         [70, 33],
         [36, 12],
         [15, 52],
         [30, 76],
         [61, 52],
         [87, 99],
         [19, 74],
         [37, 63],
         [40,  2],
         [ 8, 84],
         [70, 32],
         [63,  8],
         [98, 89],
         [27, 12],
         [75, 59],
         [76, 17],
         [27, 12],
         [48, 61],
         [39, 98]])
  </code></pre>
  
  <p>of shape <code>(30,10)</code></p>
  
  <p>What l'm supposed to get ?</p>
  
  <p>dim=(30,10,2) rather than (30,10)</p>