C-18-Q086mediumsingle_mcq
If if i == 5: break were removed, the loop would print:
If if i == 5: break were removed, the loop would print:
- aNumbers 0 through 9
- bOnly 5
- cNothing
- dNumbers 0 through 4
ব্যাখ্যা
Without the break there is no early exit, so the loop runs through its full range and prints every value from 0 to 9. The conditional that stopped it at 5 is gone.