If you wish to bypass the current iteration in a loop and move directly to the next one, you should use the _______ statement.
- break
- continue
- next
- skip
The continue statement is used to bypass the current iteration in a loop and move directly to the next iteration. It allows you to skip specific iterations as needed.
Loading...
Related Quiz
- You have a function that needs to return multiple values, which data structure is more commonly used for such a purpose?
- How would you define a class variable that is shared among all instances of a class in Python?
- Why are tuples generally faster than lists when it comes to iteration?
- In Matplotlib, the ____ method is used to create a new figure object.
- Which Python entity is primarily affected or modified by a metaclass?