C-17-Q053mediumsingle_mcq
The match statement is used as an alternative to using:
The match statement is used as an alternative to using:
- aMany
forloops - bMany
elifstatements - cThe
importstatement - dThe
defkeyword
ব্যাখ্যা
The match statement provides a cleaner alternative to a long chain of elif statements when selecting among many possible values. It improves readability for multi-way branching.