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.
line=[['10', '13\n'], ['3', '4\n'], ['5', '3\n'], ['1', '13']]
map(lambda X:(X+1),int(line))
Is this not working because of \n and the nests?
Well your intent is not clear but it is not due to \n.
See :