Conditional Expressions in Python Flashcards
It is usually used in
imperative programming languages
conditional statement
are features of a programming language that
perform various computations or situations on whether the Boolean condition specified by the programmer is true or false.
Conditional expressions
and Conditional constructs
Is a programming statement that is executed just if a specific condition is met.
Conditional Expression
are used when the program has conditional choices to execute a code block.
Program Decision
Consists of a Boolean expression using which data is compared and a decision is made based on the result of the comparison and can be followed by one or more statements.
If statements
allows you to check multiple expressions for TRUE and execute a code block as soon as one of the conditions is evaluated for TRUE
Elif statements
There may be a situation where you want to check for another condition after the condition is true. In such a case, you can use the ______________
Nested If statement