WEBVTT 00:00.550 --> 00:06.100 When a break a statement executes inside and control flows and breaks out of the loop immediate 00:09.230 --> 00:14.690 here we have while Brent 00:20.470 --> 00:30.680 this one this loop will print a sequence from one to 20. 00:30.680 --> 00:30.980 Let it 00:37.360 --> 00:51.680 so if we want to stop the loop instance us at Dan can say if I will then print 00:54.810 --> 00:58.070 including break. 01:01.040 --> 01:05.450 Rick. 01:05.470 --> 01:17.500 So now this loop blueprint from one to Dan as when the value of A will be equal to 10. 01:17.840 --> 01:19.670 This statement will get executed. 01:20.810 --> 01:25.220 And the interpreter will stop the next iteration 01:31.550 --> 01:33.410 similarly break a statement 01:37.700 --> 01:51.470 can be used in Ron Boswell or by people equals three big. 01:51.480 --> 01:57.030 So now instead of printing one two three four it will only bring one two three 02:01.750 --> 02:03.340 like Rick. 02:03.520 --> 02:10.010 We have continuous statement which will skip to the next hour iteration of the loop 02:13.350 --> 02:16.820 like two a 02:20.750 --> 02:25.860 one two three four five six seven. 02:34.450 --> 02:35.560 Equals equals to 02:38.580 --> 02:41.560 all Y equals equals 02:44.250 --> 02:48.900 to continue. 02:59.800 --> 03:05.950 So it when the value of five will be to or five 03:08.530 --> 03:18.450 this continues statement will get executed and from 1 to 7 2 and 5 will not be printed 03:22.520 --> 03:23.780 let's test this.