True
and False
.!=
tests for inequality<
, <=
, >
, and >=
have the same meaning as in math class.if
keyword, it evaluates the expression following the keyword and before the colon. If that expression is True
, Python executes the code in the indented code block under the if line. If that expression is False
, Python skips over the code block.