title: How can I optimally concat a list of chars to a string?
body: <p>The data:</p>
  
  <pre><code>list = ['a','b','x','d','s']
  </code></pre>
  
  <p>I want to create a string str = "abxds". How can I do that?</p>
  
  <p>Right now I am doing something like:</p>
  
  <pre><code>str = ""
  for i in list:
      str = str + i
  print(str)
  </code></pre>
  
  <p>I know strings are immutable in Python and this will create 7 string object. And this goes out of my memory when I do thousands of times.</p>
  
  <p>Is there a more efficient way of doing this?  </p>