title: Convert multiple values to integer?
body: <p>I have code like this</p>
  <pre><code>def some_data():
  
      file_data = open(r&quot;some.txt&quot;,&quot;r&quot;)
  
      result = {}
      for line in file_data:
          values = line.split(sep=&quot;\t&quot;)
          if values[-1][-1:] == &quot;\n&quot;:
              values[-1] = values[-1][:-1]
          else:
              values[-1] = values[-1]
          result.update({values[0]: [values[1], values[2],values[3], values[4]]})
  
      return result
  </code></pre>
  <p>That gives me output:</p>
  <pre><code>{'130121322X': ['90', '50', '40', '60'], '130121323Y': ['80', '70', '60', '60'], '130121325X': ['100', '90', '75', '50'], '130121334Y': ['90', '90', '80', '85'], '130121337Z': ['95', '60', '70', '80'], '130121338X': ['50', '50', '40', '60']}
  </code></pre>
  <p>How can I convert the multiple values to integers? So should like this i.e:</p>
  <pre><code>{'130121322X': [90, 50, 40, 60], '130121323Y': [80, 70, 60, 60], '130121325X': [100, 90, 75, 50], '130121334Y': [90, 90, 80, 85], '130121337Z': [95, 60, 70, 80], '130121338X': [50, 50, 40, 60]}
  </code></pre>