title: Get List from a String Python
body: <p>For example, I have a string <code>'[1,2,3]'</code>. </p>
  
  <p>How can I make her turn a list <code>[1,2,3]</code>? quotes string. And if you have other characters remain string. How can I do this?</p>
  
  <p>Examples:</p>
  
  <pre><code>input                 output
  
  '[1,2,3]'            [1,2,3]
  
  input                 output
  
  "['1','2,'3']"     ['1','2','3']
  </code></pre>