title: Problems to insert comma in each element in a list in python
body: <p>Hy friends,
  I would like to make a code to split each element in python, but it does not work.</p>
  <p>the code:</p>
  <pre><code>def insert(string):
      li = list(string.split(','))
      return li
     
  
  num1 = str(input(&quot;Past the list: &quot;))
  insert(num1)
  </code></pre>
  <p>the list:</p>
  <pre><code>20,Amsterdam,B,Right,1  
  131,Hungry,B,Left,1  
  0.70,NY,B,Left,1  
  1.23,USA,D,Right,1  
  1.47,Montreal,D,Right,1
  </code></pre>
  <p>the results:</p>
  <pre><code>['20', 'Amsterdam', 'B', 'Right', '1 131', 'Hungry', 'B', 'Left',  '1 0.70', 'NY', 'B', 'Left',
   '1 1.23', 'USA', 'D', 'Right', '1 1.47', 'Montreal', 'D',  'Right', '1']
  </code></pre>
  <p>it should be:</p>
  <pre><code>['20', 'Amsterdam', 'B', 'Right', '1', '131', 'Hungry', 'B', 'Left',  '1', '0.70', 'NY', 'B', 'Left', '1', '1.23', 'USA', 'D', 'Right', '1', '1.47', 'Montreal', 'D',  'Right', '1']
  </code></pre>