C-18-Q103mediummulti_combo_mcq
Which Python statements are used for loop control?
Which Python statements are used for loop control?
forwhilecontinue/break/pass
- ai and ii
- bii and iii
- ci and iii
- di, ii, and iii
ব্যাখ্যা
All three groups are loop-related control tools in Python: for and while create the loops themselves, while continue, break, and pass alter their flow (skip an iteration, exit the loop, or do nothing). Since every listed statement plays a role in loop control, all three statements are correct.