title: How do I apply int to every string using map and lambda in python?
body: <p>I want to avoid doing ugly int to each element in a list.</p>
  
  <pre><code>dictionary[l[0]] = [(int(l[1])+ int(l[2])+ int(l[3]))/3] #avg score of 3 grades
      sub1 += int(l[1])
      sub2 += int(l[2])
      sub3 += int(l[3])
  </code></pre>
  
  <p>The list l has 4 elements, 0 to 3 indexes. I need to apply int starting with the 1st-element, not 0th element.</p>
  
  <p>I'm trying to write something like:</p>
  
  <pre><code>   map lambda x: int(x) for i in l[1:]
  </code></pre>
  
  <p>Do I need lambda here, since map can already do the job?</p>