Mastery 11 - Conditionals
In order to make useful programs we need to know how to work with conditions and how it can change the “behavior” of the program and conditional statements are the ones that makes us life easier.
The simplest form of a selection in a program is the if statement. A boolean expression has to be written after the if and this statement it’s what we call condition, if this condition it’s true it will follow the intended statement but if it’s not true it will go on and check if the boolean statement after elif and will check if it’s true. Finally if the program checks all of the conditions and finds none of them it’s true it will automatically follow the intended statements after else.











