SMARS Learning Platform
PYTHON_101 | LOOPS
The ‘If’ statement will check if a condition is true or false.
If the statement is true it will execute a block of code.
If the statement is false it will not execute the block of code and continue the normal flow of the program.