Quiz : pass, continue, break, and else in Python
Quiz: pass, continue, break, and else in Python Quiz: Loop Manipulation using pass , continue , break and else in Python 15 multiple-choice questions. Choose the best option. Click Submit to see your score and explanations. Use Reset to try again. 1. What does the pass statement do inside a loop? Immediately exits the loop Does nothing (placeholder) and continues Skips to the next iteration Raises an exception 2. Which statement skips the current iteration and moves to the next? pass break continue return 3. What happens when break is executed in a loop? Skips remaining code and continues next iteration Exits the loop immediately Causes the loop to restart from the first iteration ...