1 00:00:00,420 --> 00:00:02,280 Biton continues treatment. 2 00:00:04,660 --> 00:00:10,780 Continue statements, syntax in Python, the conduce statement is used to skip the rest of the code 3 00:00:10,780 --> 00:00:18,020 inside the loop for the current iteration only, that means that I suppose we are having setin statements 4 00:00:18,070 --> 00:00:24,910 are in the loop on the fifth step and we have written continue and we are executing this continue. 5 00:00:25,120 --> 00:00:30,610 Then the last five statements that that is the statement number six to the statement, number 10 will 6 00:00:30,610 --> 00:00:31,780 remain and execute it. 7 00:00:31,930 --> 00:00:36,310 And again, that this condition will get the control again, the condition will be checked. 8 00:00:36,520 --> 00:00:41,310 And if the condition is to the looping will be done again, otherwise it will come out from the loop. 9 00:00:41,770 --> 00:00:47,350 So the condition, the continuous statement is used to skip the rest of the code inside the loop for 10 00:00:47,350 --> 00:00:54,730 the current iteration only loop does not terminate, but continues on with the next iteration. 11 00:00:55,670 --> 00:01:01,280 So these are the index of writing discontinue all the letters must be written in lowercase, C is not 12 00:01:01,280 --> 00:01:03,410 capital, all the letters are in the lowercase. 13 00:01:03,740 --> 00:01:06,650 So because a python is a sensitive language. 14 00:01:07,870 --> 00:01:13,900 So flowchart of the continuum, so here the country is becoming so test exhibition of the loop will 15 00:01:13,900 --> 00:01:14,590 be tested. 16 00:01:14,680 --> 00:01:17,460 If the condition is false, then it will take place. 17 00:01:17,800 --> 00:01:20,740 Then if the condition is true, then it could continue. 18 00:01:20,740 --> 00:01:21,550 Is there or not? 19 00:01:21,790 --> 00:01:26,950 If there continues there, then if it exists, then again, the test exhibition of the loop will get 20 00:01:26,950 --> 00:01:27,500 executed. 21 00:01:27,820 --> 00:01:32,950 This remaining part, the body of the loop, will remain on exhibit at for that internationality. 22 00:01:33,340 --> 00:01:38,170 But if there is no continue, then the remaining part remaining body of the loop will get executed. 23 00:01:38,320 --> 00:01:43,870 And there is a flowchart of continuous teckman to give you the idea how the control is flowing in the 24 00:01:43,870 --> 00:01:45,500 loop and the loop constant. 25 00:01:45,760 --> 00:01:52,270 So let us go for one practical demonstration for the easy understanding of this continuous teckman usage 26 00:01:52,270 --> 00:01:53,350 in our python coding. 27 00:01:53,770 --> 00:01:58,090 In this coding, we're going to explain the use of continue statement in our python. 28 00:01:58,630 --> 00:02:05,410 So for I in range one comma 20, that means that I value will be ranging from one to 19 because the 29 00:02:05,710 --> 00:02:10,060 upper limit 20 is exclusive and the lower limit one is inclusive here. 30 00:02:10,360 --> 00:02:12,760 So valuable I will be ranging from one to 19. 31 00:02:13,090 --> 00:02:19,750 So if I pass this to is not equal digital, that means if the number is not even numbered, then we 32 00:02:19,750 --> 00:02:21,120 are going for the continuum. 33 00:02:21,130 --> 00:02:26,200 That means when the number is not an even number, that means when the number is odd, then continue 34 00:02:26,200 --> 00:02:32,770 to continue, means the next statement will become unreachable and executed and will come to the fore 35 00:02:33,040 --> 00:02:34,160 stickman back again. 36 00:02:34,360 --> 00:02:36,000 So that is a part of the continuum. 37 00:02:36,340 --> 00:02:39,040 So current iteration gets continued. 38 00:02:39,070 --> 00:02:43,840 That means the current iteration will get continued and that is part of the code which will be coming 39 00:02:43,840 --> 00:02:49,640 after this continuous settlement will become unbridgeable and for the definition it will remain on executed. 40 00:02:50,050 --> 00:02:51,660 So let us go for the execution here. 41 00:02:51,880 --> 00:02:55,210 You can easily find the execution is producing the outcome like this. 42 00:02:55,640 --> 00:03:00,520 So if you make this one S10 say so now, I will be ranging from one to nine. 43 00:03:00,730 --> 00:03:05,840 So only the event numbers are going to get printed because in case of odd number, when the eight percent 44 00:03:05,860 --> 00:03:10,820 is to, there is a reminder of the division by two is not equal digital. 45 00:03:10,840 --> 00:03:14,530 That means when it is now other than any value, then it is continuing. 46 00:03:14,560 --> 00:03:15,640 So it is going back. 47 00:03:15,910 --> 00:03:19,530 So far, the only for the event numbers eight percent is to become zero. 48 00:03:19,810 --> 00:03:21,650 So that's why this condition will be false. 49 00:03:21,790 --> 00:03:26,260 So print I, this statement is getting control as the condition is false. 50 00:03:26,260 --> 00:03:29,310 The continent is not getting executed in this way. 51 00:03:29,320 --> 00:03:34,600 In this particular example, we have demonstrated that how to use the continuous statement in python 52 00:03:34,600 --> 00:03:34,910 coding. 53 00:03:35,470 --> 00:03:36,640 Thanks for watching this video.