I'm not trying to confuse you
I didn't include these three different formulations of the program to confuse you.
I included them to illustrate that:
There is almost always more than one way to construct relational and logical statements to produce the same result.
I recommend that you use the simplest formulation of the statement whenever possible.