title: Class vs. Type in Python
body: <p>I just recently started to teach myself how to code.  I am currently reading <em>Think Python 2</em> for python 3 and when it teaches about the <code>type()</code> function, it gives the example <code>type(2)</code> which outputs <code>&lt;class 'int'&gt;</code>.  It then states that "the word 'class' is used in the sense of a category; a type is a category of values."</p>
  
  <p>The part that confuses me is that the <code>type()</code> function outputs class instead of type. Also, I'm not sure about the difference between type and class; are string, float point, and integer classes of the type "value", or are they the same thing?</p>
  
  <p>I have looked this up but cannot find an answer to my specific questions or simple enough for me to understand.</p>