title: Should I use the print statement or function in Python 2.7?
body: <p>To make my simple scripts in Python 2.7.10, should I use the print function instead of the statement to make them future proof, in case I want to test them on another computer with only Python 3, or on an online IDE? What is the best way that works best with both or the most common Python versions?</p>
  
  <p>What are the differences? This is my first programming language I'm learning, so I'm just unsure. Right now, I have a fixed variable that I enter in either '2' or '3' and then an if statement in the code does a different print function and concatenate method for either versions.</p>
  
  <p>--Examples--</p>
  
  <p>What I am using now:</p>
  
  <pre><code>print "Hello world!"
  </code></pre>
  
  <p>But should I use this in both versions?</p>
  
  <pre><code>print ("Hello world!")
  </code></pre>