Converting list with multiple data types(both string and integer) to a string in python : <p>I have below list with multiple data types(strings and integers). How do i convert this to a string.</p>

<pre><code>sample_list =['a','b',1,'c',2,4,'d']
</code></pre>

<p>Below statement is not working.</p>

<pre><code>' '.join(sample_list)
</code></pre>
