python starts from left so here 3 is not greater than 2 which is why it is showing as false. I hope you understand.