title: Python Efficiency: is it better to create new variables and assign tasks to it rather than keep on using same variable?
body: <p>I apologise if this question has been asked many times before but I am probably using wrong terms to find the answer. </p>
  
  <p>I am using Rasberry Pi so I care about efficiency. 
  in Python script I have a variable called foo and I need to strip it and then make a list of it. 
  So far this is how my code looks like:</p>
  
  <pre><code> foo = "hello, world"
   foo = foo[1:-1]         #strip away the quotation marks.
   foo = foo.split(", ")   #make a list of it
  </code></pre>
  
  <p>My question is: is it okay if I keep on using same variable or should I create new ones? Or should I do something like this:</p>
  
  <pre><code>foo = "hello, world"
  bar = foo[1:-1]
  fubar = bar.split(", ")
  </code></pre>
  
  <p>Furthermore, foo variable keeps getting different strings many times a second. 
  I mean with every instance of that variable, there is a new memory allocation, but does it mean that I should keep on using same variable then? </p>
  
  <p>Thank you for your answers and again, apologise for stupid question. </p>