A

Admin • 833K Points
Coach

Q. What does the 'continue' statement do in a loop in Python?

  • (A) Exits the loop
  • (B) Skips the current iteration and moves to the next iteration
  • (C) Pauses the loop
  • (D) Starts a new loop
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

The 'continue' statement skips the current iteration of the loop and proceeds with the next iteration.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.