title: static effect on python
body: <p>how we can construct static effect on python instead of using class and global ? </p>
  
  <p>not like that one :</p>
  
  <pre><code>global a
  a = []
  
  #simple ex ;
  fonk ( a , b , d) 
  
     x =  1 
  
     a.append ( x) 
  </code></pre>
  
  <p>EDIT:
  I want to create temporary memory , if  I exit the function namely fonk , I want to save change as list on temporary memory .
  We can do that demand only put static keyword in front of data type but in python , we dont have static, so I want that effect in python . Therefore , how can I do ? </p>
  
  <p>As above code say "a" represents temporary memory</p>