C-17-Q044mediumsingle_mcq
The main purpose of elif is to:
The main purpose of elif is to:
- aRepeat a block of code
- bCheck multiple conditions in a program
- cDefine a function
- dImport a module
ব্যাখ্যা
elif lets a program test several mutually exclusive conditions in sequence, choosing one branch out of many. It is not used for looping, defining functions, or importing.