C-17-Q055mediumsingle_mcq
In an elif chain, the appropriate statement is selected based on:
In an elif chain, the appropriate statement is selected based on:
- aA conditional or relational expression
- bThe value of a single variable only
- cThe order of imports
- dThe line number
ব্যাখ্যা
In an elif chain, each branch is chosen by evaluating a conditional or relational expression (such as a comparison) to true or false. It is not limited to one variable's value.