Suppose you have a list like:
[[\"a\", \"1\", \"2\", \"3\"], [\"b\", \"4\", \"5\", \"6\"], [\"c\", \"7\", \"8\", \"9\"]]
And I want to conv
If you want to convert the lists inplace, your code is good enough.
BTW, the list comprehension can be replaced with map:
map
l[1:4] = map(int, l[1:4])