Break and Continue
break is used to immediately terminate the entire loop, and the program continues executing from the code after the loop. It's commonly used to exit early after finding a target, or to abort iteration when certain conditions are met.
continue is used to skip the remaining code in the current iteration and proceed directly to the next iteration. It's commonly used to filter out cases that don't need processing, making the loop body more focused on the logic that's actually needed.
break and continue only affect the current loop level. In nested loops, they don't affect the execution of outer loops. Both keywords have the type Nothing, indicating they don't return any value.
Try changing break to continue, or reversing the conditional logic, and observe how the output changes.