title: How to use a temporary variable in Python 2.7 - memory
body: <p>I  save 'haystack' in a temporary variable, but when I modify 'haystack', the temporary variable change too. Why? Help please? it's normal? in PHP I didn't have this problem. </p>
  
  <pre><code># -*- coding:utf-8 -*-
  
  haystack = [1,'Two',3]   
  tempList = haystack   
  print 'TempList='    
  print tempList   
  iterable = 'hello'  
  haystack.extend(iterable)   
  print 'TempList='   
  print tempList
  </code></pre>
  
  <p>Return in Console</p>
  
  <pre><code>TempList=
  [1, 'Two', 3]
  TempList=
  [1, 'Two', 3, 'h', 'e', 'l', 'l', 'o']
  </code></pre>
  
  <p>But I haven't modified the variable 'tempList'.<br/>
  Help, please.Thanks.</p>