if
statement, which allows us to execute code only if a certain condition is true.
elif
and else
statements, which allow us to execute different code depending on whether the condition is true or false.
if
statements. Comparative operators include ==
, !=
, >
, <
, >=
, and <=
. Boolean operators include and
, or
, and not
.
The best way to improve your programming skills is to practice.
I created a course for learning Python that you can follow alongside these lessons.
You can check these out at
BitFez’s Learning to code in Python Roadmap 🛣
You should specifically follow the Step 2: If Statement activities: