title: How do order of operations go on Python?
body: <p>My question looks like this:</p>
  <pre><code>  10-7//2*3+1 
  </code></pre>
  <p>I am supposed to solve the equation.</p>
  <p>My answer seems to come out as 8 when using PEMDAS:</p>
  <pre><code>First its's 2*3 = 6; 10-7//6+1
  second = 7//6= 1; 10-1+1
  Third = 10-8 = 8;
  </code></pre>
  <p>But when putting it into python, I get a 2. Why is this so?</p>
  <p>It seems the programs order is as such:</p>
  <pre><code>first: 7//2=3; 10-3*3+1
  second: 3*3=9; 10-9+1
  third:10-9+1= 2; 2
  </code></pre>
  <p>I don't get it.</p>