List conversion - inplace
<p>I am trying to convert ['1','2','3','4'] to [1,2,3,4]
I want to make this conversion inplace. Is it possible to do it? If not, what is the optimal solution.</p>

<p>you can do it with list comprehension like this:</p>

<pre><code>l = [int(item) for item in l]
</code></pre>

python arrays list in-place