Please explain the reason behind this tuple behavior.
>>> a=((1,(2,3)),(4,(5,6)))
>>> (1,(2,3)) in a
True
>>> a=((1,(2,3)))
>>> (1,(2,3)) in a
False
Please explain the reason behind this tuple behavior.
>>> a=((1,(2,3)),(4,(5,6)))
>>> (1,(2,3)) in a
True
>>> a=((1,(2,3)))
>>> (1,(2,3)) in a
False