Introduction to Conditional Statements


☞ The order of execution of the statements in a program is known as flow of control.

☞ Conditional Statements are also known as Decision-Making Statements.

☞ It allows you to execute different code blocks based on certain conditions.

☞ There are primarily four types of decision-making statements in Python:

1. if Statement
2. if-else Statement
3. if-elif-else Statement
4. Nested if-elif-else Statement