title: Is there a way to convert a list variable into a non-list variable?
body: <p>Specifically, I've been trying to make a code that assigns the variable <code>my_list</code> to a non-list variable without any spaces or commas.</p>
  
  <pre><code>my_list= [3, 4, 5, 9]  # Has to be integers  
  my_var= ' '  
  ...
  </code></pre>
  
  <p>Expected result at the end:</p>
  
  <pre><code>my_var = 3459  
  </code></pre>
  
  <p>However, the problem is that I am able to do the complete opposite, and with letters instead:</p>
  
  <pre><code>variable = 'hello'  
  mylist = [ ]  
  for item in variable:  
      mylist.append(item)   
  print(mylist)
  </code></pre>