What keyword is used to stop the execution of the current iteration and proceed to the next in a loop?
- break
- continue
- skip
- stop
The 'continue' keyword is used to stop the execution of the current iteration in a loop and proceed to the next iteration. It allows you to skip specific iterations.
Loading...
Related Quiz
- What keyword is used to catch exceptions in Python?
- What method is used to add a single element to a set in Python?
- In Matplotlib, how do you add a title to a plot?
- You have a program that checks for a user's age to determine the price of a movie ticket. How would you structure the conditional statements to determine if a user gets a discount based on their age?
- If you want to overload the less than (<) operator for a class, you will define the _______ method in your class.