title: How to remove spaces from list of integers?
body: <p>My question seems to be very simple, but I still don't find the right answer for me. Maybe, if I am writing the specific explanation somebody can help me out.</p>
  <p>So following case:</p>
  <p>I have this list <code>a</code> (if I do <code>print(type(a)</code>) it will also return &quot;class list&quot;), which I have manually inserted into the script. Unfortunately if I do this programmatically it will always return list <code>b</code> in the example, which then isn't recognized correctly by the following program.</p>
  <pre><code>a = [1,2,3,4,5,6,7,8,9,10]
  b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
  </code></pre>
  <p>My question is: How do I remove the spaces in list <code>b</code> to be like list <code>a</code>?</p>