The question was this in my python beginners course Add a pair of parentheses to each expression so that it evaluates to True. 0 == 1 == 2
And the answer given was ( 0 == (1==2)) Isnt it still false in the answer too as 1 is not equals to 2 and 0 is not equal to any of them
0 == False
See stackoverflow.com/questions/28033852/strict-comparison(0 == (1==2))
evaluates to(0 == False)
, which in Python is True.