title: Order of operations for Python 2.7
body: <p>Teaching myself coding, what is the order of operations for this line of code? </p>
  
  <pre class="lang-py prettyprint-override"><code>print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6
  </code></pre>
  
  <p>I attempted to do remainder and division first so I got 3 + 2 + 1 - 5 + 0 - 0.25 / 4 + 6. Then I completed AS from left to right and got 0.075. Totally wrong because LPTHW puts it at 7. Please offer detailed operation order.</p>
  
  <p>I Googled Python order of operation, but results are not too instructively detailed.</p>
  
  <pre class="lang-py prettyprint-override"><code>print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6
  </code></pre>
  
  <p>Expected result is 7, but obtained 0.075</p>