0:00
Hello students.
00:01
So the question for today states about that we need to write a fall loop in which we need to print the numbers from 20 to 30.
00:11
And in this, that 20 to 30 must be in a print.
00:16
That means in that expected output, the 20 and the 30 number should also be present.
00:22
Okay.
00:23
Before moving ahead to the particular portion, let us discuss about something basic thing like what? is the importance of loop.
00:37
So think i have a startup company.
00:41
So and i have different vendors.
00:44
So on a particular day i want to keep my company off.
00:49
So i need to tell all my vendors that today i will be off and my vendors are like i have 10 ,000 vendors for my startup company.
00:58
So if i start sending each and individual mail, what happens? it becomes a tedious job for myself to send each and everyone.
01:09
So i will write a code in which it will automatically send 10 ,000 vendors in a direct go and it will reduce my work.
01:22
So what i can say, the importance of loop is basically it reduces my.
01:29
My tedious task firstly.
01:32
Or right now if i talk about what is basically loop, loop is nothing but it can execute a block of code multiple times or we can say a number of times.
02:01
So this is basically what we know is about the importance of loop.
02:07
Now we will be moving with the question right now.
02:10
Here we need to know about the for loop so in the fall loop basic fall loop is nothing but a control flow statement it will what will it basically do it will also execute a number of block multiple number of times or we can say repetitive or in particular technical definition if we talk about for follow it is a control flow statement for specifying iteration or we can say repetition which allows code to be executed repeatedly so this is the main part which we have covered now we have what we have right now the syntax we need to know the syntax for the fall loop so the syntax is first first we need to write 4, then we have initialization.
03:20
After initialization, we have the condition...