/* */ Click to Join Live Class with Shankar sir Call 9798158723

Python Conditionoal Statement

From the previous section we write program in sequential execution. in which statements are always performed one after the next, in exactly the order specified. But now is often more complicated than that. Frequently, a program needs to skip over some statements, execute a series of statements repetitively, or choose between alternate sets of statements to execute.

Conditional statement in python is same as:-

There come situations in real life when we need to make some decisions based on some condition,
Conditional Statement in Python performs different computations or actions depending on whether a specific Boolean constraint evaluates to true or false. Conditional statements are handled by IF statements in Python.

With the help following conditional statements, it can change the flow of execution