Conditional statements and loops


In the previous section, you learned about printing, comments and variables. In this section, we will introduce the concept of conditional statements and how you apply that in python. Conditional statements are those like “If I am hungry, I eat a snack,” and “Eat snacks while you are hungry.”

Let’s get started!