title: Python's / and // operators on 2.7.4
body: <p>I am new to Python and I started studying the basics. I am a C++ guy so the // operator was something new. According with a book that I am reading:</p>
  
  <pre><code>&gt;&gt; 4/2
  2.0
  &gt;&gt; 2/4
  0.5
  &gt;&gt; 5//4
  2
  &gt;&gt; 2//4
  0
  </code></pre>
  
  <p>The problem is that when I write <code>5//4</code> the result is 1,when I write <code>4/2</code> the result is 2 and not 2.0 and when I write <code>2/4</code> the result is 0 . I have to write `2.0/4.0' to have 0.5 as the result. Is these author's mistakes or am I doing something wrong?</p>
  
  <p>I am using Python 2.7.4, [GCC 4.7.3] on linux2</p>