Convert list of list of integers into a list of strings
<p>I have a list of strings:</p>

<pre><code>['[2, 8]', '[8, 2]', '[2, 5, 3]', '[2, 5, 3, 0]', '[5, 3, 0, 2]']  
</code></pre>

<p>I want output to look like </p>

<pre><code>['28','82','253',2530',5302']
</code></pre>

<p>I've tried using   </p>

<pre><code>string1= ''.join(str(e) for e in list[0])
</code></pre>

<p>I get output for print (string1) as:</p>

<pre><code>[2, 8]
</code></pre>

<p>What am i doing wrong here?</p>

<p>If you want to use built-in functions only (without imports), you can define a function that parses only the numbers and map that function to your list.</p>

<pre><code>def remove_non_digits(z):
    return "".join(k if k.isdigit() else "" for k in z)

&gt;&gt;&gt; map(remove_non_digits, a)
['28', '82', '253', '2530', '5302']
</code></pre>

python string list