ABSTRACT

The authors discuss a conditional control structure used to execute statement(s) based on some condition. When the condition is associated with a statement(s) that is true, only then is the related/associated statement(s) executed, otherwise the program ignores/skips those statement(s). If the execution of the statement(s) or skipping of the statement(s) happens only once, based on the outcome of the condition, use of the conditional control structure is preferred. In Python programming, indentation is the key factor. Therefore, statement(s) need to be indented properly. Python is case-sensitive and most of the keywords are in lowercase.