title: Python tuples, what does , in the end mean
body: <pre><code>(0,)==(0)
  False
  </code></pre>
  
  <p>What does , in (0,) means and when it is usefull to have that kind of tuple instead of the regular tuple like (0)?</p>
  
  <p>I thought it might mean that item in index 1 is None but thats not the case :</p>
  
  <pre><code>(0,)[1]
  Traceback (most recent call last):
    File "&lt;input&gt;", line 1, in &lt;module&gt;
  IndexError: tuple index out of range
  </code></pre>
  
  <p>Also, if i want (0,1,) to become (0,1) how do i manipulate it?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Maybe i over simplified the example used for my problem, this is my original problem :</p>
  
  <pre><code>(('Suggest', 1.0), 65)==((('Suggest', 1.0),), 65)
  False
  </code></pre>
  
  <p>So i guess python doesnt interpert ('Suggest', 1.0) as mathematical expression does it?</p>