Control statements in python are used to control the order of execution of the program based on the values and logic.
Types of Control Structure
1. conditional structure
Conditional Statement in Python perform different computations or actions depending on whether a specific Boolean constraint evaluates to true or false.
Types of Conditional Structure
1. if
2. else
3. elif
4. nested if else
2. Iteration Structure
Repeated execution of a set of statements is called iteration.