title: BODMAS - python
body: <p>I thought I understood BODMAS (BIDMAS in the UK). I'm unsure why the following expression evaluates in a different order:</p>
  
  <pre><code>a = 8*4//3
  </code></pre>
  
  <p>I expected 'division' to take place first, giving <code>a = 8*1</code>  - instead 'multiplication' occurs first, giving <code>a = 32//3 = 10</code></p>
  
  <pre><code>b = 9//3*7
  </code></pre>
  
  <p>Example <code>b</code> evaluates to 21, as per BIDMAS rule.</p>
  
  <p>It seems that python executes an expression from left to right and treats 'division' and 'multiplication' as equivalent. What's happening? Thanks in advance, Faz.</p>