title: How to convert 2D string list to 2D int list python?
body: <p>How to convert a 2d string list in 2d int list? example: </p>
  
  <pre><code>&gt;&gt;&gt; pin_configuration = [['1', ' 1', ' 3'], ['2', ' 3', ' 5'], ['3'], ['4', ' 5'], ['5', ' 1'], ['6', ' 6'], ['7']]
  
  &gt;&gt;&gt; to [[1,1,3], [2,3,5], [3], [4,5], [5,1], [6,6], [7]]
  </code></pre>