How to use map function on nested lists and converting strings to integers?
<p>I would need to use the map function in Python(2.4.4) to add 1 to each item in the list, so I tried converting the strings into integers.</p>

<pre><code>line=[['10', '13\n'], ['3', '4\n'], ['5', '3\n'], ['1', '13']]

map(lambda X:(X+1),int(line))
</code></pre>

<p>Is this not working because of <code>\n</code> and the nests?</p>
