title: Using integer division in Python
body: <p>Consider this Python division:</p>
  <p>base = 12.0</p>
  <p>height = 16</p>
  <p>Area = 1/2 * Base * Height</p>
  <p>The solution shows of it this</p>
  <p>area = (base * height)/2;</p>
  <p>It confuses me that 1/2 will be float and Python will show only 0, not 0.5. Why does the solution use /2 in this case?</p>