title: How to use conditional statements or loops to achieve my requirement?
body: <p>I am new to python coding. Kindly, help me to achieve my requirement.</p>
  
  <p>Suppose there are two arrays 'a' and 'b' of size 3*4     </p>
  
  <pre><code>a = [[1,0,0,1],
       [0,0,1,1],
       [1,0,0,1]]
  
  b = [[12,-34,-10,4],
       [2,11,-12,20],
       [-12,16,19,-9]]
  </code></pre>
  
  <p>Here, if <code>b[i,j]&lt;10</code> than I want the corresponding <code>a[i,j]</code> to be same(i.e it can be either 0 or 1) else change <code>a[i,j]</code> element to 1.</p>
  
  <p>Expected outcome for the above example :</p>
  
  <pre><code>c = [[1,0,0,1],
       [0,1,1,1],
       [1,1,1,1]]
  </code></pre>