title: how to assign string input as list in python
body: <p>User is giving list as input <code>[1,2,3,4]</code>:</p>
  <pre><code>a = input()
  </code></pre>
  <p>It is taking this as str.
  I want to get this data into local list <code>b</code>.</p>
  <pre><code>b = a.strip('][').split(', ')
  print(b)
  </code></pre>
  <p>Output: <code>['1,2,3,4']</code></p>
  <p>How to get list individually not a single entity?</p>