A

Admin • 833K Points
Coach

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

  • (A) Skips the rest of the current iteration and moves to the next iteration
  • (B) Exits the loop
  • (C) Pauses the loop
  • (D) Restarts the loop from the beginning
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`continue` skips current iteration but keeps the loop running.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.