title: List object conversion to integer
body: <p>I have a list:</p>
  
  <pre><code>nums=[[19],[5],[23],[6],[10]]. 
  </code></pre>
  
  <p>Is there a way to convert a list object to a "simple" object? </p>
  
  <p>So <code>[19]</code> would become the actual integer <code>19</code>? Maybe some type of casting?</p>