In a for-loop iterating through a list, if a specific condition is met and you want to skip the remaining code in the current iteration but not exit the loop, you would use the _______ statement.

  • Break
  • Continue
  • Pass
  • Skip
The 'continue' statement is used to skip the remaining code in the current iteration of a loop and move to the next iteration without exiting the loop. So, you would use 'Continue.'
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *