title: recursively (or non-recursively) iterating through python array and get the elements
body: <p>I have a python array data-structure like [[v], [v]] that v is an array of size 2 or another [[v],[v]] data type. you can see the real data below:   </p>
  
  <pre><code>ex1:
  
  list: [[[1, '1.0.1'], [1, '2.0.1']], [1, '3.0.11']]
  
  ex2:
  
  list: [[[[1, '1.0.1'], [1, '2.0.1']], [1, '3.0.11']], [1, '4.0.11']]
  </code></pre>
  
  <p>now my problem is that I should get elements from left to right first [1, '1.0.1'] then [1, '2.0.1'] and so on. and note that the size of array vary.</p>
  
  <p>how can I achieve this?</p>