Which control structure allows the checking of multiple expressions for truth value and executing a block of code as soon as one of the conditions evaluates to true?

  • for loop
  • if-elif-else
  • switch-case
  • while loop
The if-elif-else control structure allows the checking of multiple expressions for truth value. It executes the block of code associated with the first true condition and then exits the structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *