title: How is remainder calculated with modulo when solving fractions?
body: <p>As you can see, dividing 3/7 yields a fraction. But when I do 3%7 it yields 3. How could this be? I suppose I expected an output value of 4 (because it would take 4 to complete 7) or 0, (because there is no remainder at all if you use integer division such as 3//7).</p>
  
  <pre><code>&gt;&gt;&gt; 3/7
  0.42857142857142855
  &gt;&gt;&gt; 3%7
  3
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>Just trying to understand the depths of Python. Thanks!</p>