Question: When using an if statement followed by multiple elif statements a. Python will start evaluating the conditions in the if and elif statements until it
When using an if statement followed by multiple elif statements
a.
Python will start evaluating the conditions in the if and elif statements until it finds on that is False and then will not evaluate any additional if/elif statements
b.
Python will start evaluating the conditions in the if and elif statements and always continue to evaluate any additional if/elif statements
c.
None of these are correct
d.
Python will start evaluating the conditions in the if and elif statements until it finds on that is True and then will not evaluate any additional if/elif statements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
