The if-else Statement
This lesson showcases the main properties of an 'if-else' statement.
We'll cover the following
What if we want to execute a different set of operations in case an if
condition turns out to be False
?
That is where the if-else
statement comes into the picture.
Structure
The if-else
statement looks something like this: