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