New course! Every coder should learn Generative AI!
Try a free lesson0
How >>>print (1==1 + 2==2) output false?
2 Answers
0
First it takes 1 == 1 + 2 which becomes false because 1 ≠ 3.
The result of that part becomes 0 and then it takes 0 == 2 which is also false.
0
Thankyou