Control Flow Statements
Control Flow Statements
• The loop terminates when all items in the sequence have been processed.
Iterative Statements (for loop)
Iterative Statements (while loop)
• while loop: Executes a block of code as long as a specified condition is
true.
• continue statement: Skips the rest of the current iteration and proceeds
to the next iteration of the loop.
• These statements provide additional control over loop execution and help
in making the code more efficient and readable.
Loop Control Statements (break, continue)
Good Luck!!
Thanks