title: How to count even numbers and odd numbers in matrix in python
body: <p>Using the matrix below as an input I want to count even numbers and odd numbers in matrix
  Matrix:</p>
  <pre><code>1 4 7 5 8
  8 5 9 11 9
  
  </code></pre>
  <p>To do this I write the matrix value in python, and is two loops is the correct way to solve this</p>
  <pre><code>numbers= [[1,4,7,5,8],[8,5,9,11,9]]
  </code></pre>