If Statements

Learn about conditional statements in Python.

We'll cover the following


If statements, or conditional statements, are used in the decision-making process, where a condition is evaluated to see whether it is true or false. Then, different actions are executed depending on the result.

Get hands-on with 1200+ tech skills courses.