title: Triple value partly random null matrix
body: <p>I want to change that partly random null matrix code:</p>
  <pre><code>import numpy as np
  zero_matrix = np.zeros((10,10), dtype=np.int32)
  rng = np.random.default_rng()
  x = rng.choice(10, size=5, replace=False)
  y = rng.choice(10, size=5, replace=False)
  zero_matrix[x,y] = rng.choice(np.arange(1,10), 5)
  print(zero_matrix)
  </code></pre>
  <p>That output:</p>
  <pre><code>[[0 0 0 0 0 0 2 0 0 0]
   [0 0 0 0 0 0 0 0 0 0]
   [7 0 0 0 0 0 0 0 0 0]
   [0 0 0 0 0 0 0 0 0 0]
   [0 0 0 0 0 6 0 0 0 0]
   [0 0 0 0 0 0 0 0 2 0]
   [0 0 0 0 0 0 0 0 0 0]
   [0 0 0 0 0 0 0 0 0 0]
   [0 0 0 8 0 0 0 0 0 0]
   [0 0 0 0 0 0 0 0 0 0]]
  </code></pre>
  <p>so the output will be triple value partly random null matrix like that:</p>
  <pre><code>[[0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [0 0 0] [3 1 7] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [2 2 4] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [9 8 4] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [1 0 9] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [3 5 5] [0 0 0]
   [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]]
  </code></pre>
  <p>Thanks in advance</p>