Didn’t understand why in Python :
>>> (1,1) == 1,1
Returns
>>> (False, 1)
And the statement:
>>> 1,1 == (1,1)
Returns
>>> (1, False)
But
>>> (1,1) == (1,1)
Returns
>>> True
Moreover
>>> 1,1,1 == (1,1,1)
Returns
>>> (1, 1, False)
Could someone explain what happening?