C-17-Q144mediummulti_combo_mcq
Two correct statements about the match statement:
Two correct statements about the match statement:
- It usually selects a block based on the value of a variable
- It can include a default case using
_ - It is used to import modules
- ai and ii
- bii and iii
- ci and iii
- di, ii, and iii
ব্যাখ্যা
A match statement compares a variable's value against several patterns and selects the matching block, and _ serves as the default (wildcard) case. Importing modules is done with import, not match, so statement iii is false.