00:02
So in this problem we are asked to write a python code that takes count increment from 1 to 50.
00:23
So the important word is increment here.
00:25
So we cannot assign the count successive values of 1, 2, 3, 4, 5, 6.
00:30
We have to increment it.
00:32
So that's one important part here.
00:34
And the second thing is that we need to find that correct window.
00:39
It starts from 1.
00:40
So we need to add once a certain number of times.
00:45
So let's see that first.
00:46
So if the count value is 1 and in the beginning and the final count value is 50, we need to add plus 1 plus 1 all the way to the last plus 1.
01:03
And these should be 49 in number, 49 times because we already are starting with 1.
01:10
So that's the other key part.
01:14
And so for that we need a forward loop which runs 49 times.
01:18
You can do it any way you like, but the best way is to basically just count it as you go.
01:25
So for that i'm using a range function over here.
01:29
And what the range function does is that if you have range n1 to n2, it gives you an array which starts with n1, n1 plus 1, all the way to n2, minus 1.
01:44
So it does not include n2 and that's what i need here.
01:47
I need 49 times one added here...