Biton continues treatment.
Continue statements, syntax in Python, the conduce statement is used to skip the rest of the code
inside the loop for the current iteration only, that means that I suppose we are having setin statements
are in the loop on the fifth step and we have written continue and we are executing this continue.
Then the last five statements that that is the statement number six to the statement, number 10 will
remain and execute it.
And again, that this condition will get the control again, the condition will be checked.
And if the condition is to the looping will be done again, otherwise it will come out from the loop.
So the condition, the continuous statement is used to skip the rest of the code inside the loop for
the current iteration only loop does not terminate, but continues on with the next iteration.
So these are the index of writing discontinue all the letters must be written in lowercase, C is not
capital, all the letters are in the lowercase.
So because a python is a sensitive language.
So flowchart of the continuum, so here the country is becoming so test exhibition of the loop will
be tested.
If the condition is false, then it will take place.
Then if the condition is true, then it could continue.
Is there or not?
If there continues there, then if it exists, then again, the test exhibition of the loop will get
executed.
This remaining part, the body of the loop, will remain on exhibit at for that internationality.
But if there is no continue, then the remaining part remaining body of the loop will get executed.
And there is a flowchart of continuous teckman to give you the idea how the control is flowing in the
loop and the loop constant.
So let us go for one practical demonstration for the easy understanding of this continuous teckman usage
in our python coding.
In this coding, we're going to explain the use of continue statement in our python.
So for I in range one comma 20, that means that I value will be ranging from one to 19 because the
upper limit 20 is exclusive and the lower limit one is inclusive here.
So valuable I will be ranging from one to 19.
So if I pass this to is not equal digital, that means if the number is not even numbered, then we
are going for the continuum.
That means when the number is not an even number, that means when the number is odd, then continue
to continue, means the next statement will become unreachable and executed and will come to the fore
stickman back again.
So that is a part of the continuum.
So current iteration gets continued.
That means the current iteration will get continued and that is part of the code which will be coming
after this continuous settlement will become unbridgeable and for the definition it will remain on executed.
So let us go for the execution here.
You can easily find the execution is producing the outcome like this.
So if you make this one S10 say so now, I will be ranging from one to nine.
So only the event numbers are going to get printed because in case of odd number, when the eight percent
is to, there is a reminder of the division by two is not equal digital.
That means when it is now other than any value, then it is continuing.
So it is going back.
So far, the only for the event numbers eight percent is to become zero.
So that's why this condition will be false.
So print I, this statement is getting control as the condition is false.
The continent is not getting executed in this way.
In this particular example, we have demonstrated that how to use the continuous statement in python
coding.
Thanks for watching this video.