title: Passing an integer by reference in Python
body: <p>How can I pass an integer by reference in Python?</p>
  
  <p>I want to modify the value of a variable that I am passing to the function. I have read that everything in Python is pass by value, but there has to be an easy trick. For example, in Java you could pass the reference types of <code>Integer</code>, <code>Long</code>, etc.</p>
  
  <ol>
  <li>How can I pass an integer into a function by reference?</li>
  <li>What are the best practices?</li>
  </ol>