1 00:00:00,300 --> 00:00:05,970 OK, now, if if we want to use the for loop, but this time I want acounter here. 2 00:00:06,000 --> 00:00:08,080 OK, well, how to do that? 3 00:00:08,100 --> 00:00:15,810 Well, actually there are a lot of ways, but using that in the range function is very popular and very 4 00:00:16,260 --> 00:00:17,440 easy way to do that. 5 00:00:17,460 --> 00:00:22,350 So for I n and I would use the range function as this. 6 00:00:22,530 --> 00:00:24,240 OK, and from two. 7 00:00:24,450 --> 00:00:27,730 So from zero to 10 for example. 8 00:00:28,110 --> 00:00:30,570 OK, and then let's print out. 9 00:00:31,070 --> 00:00:31,450 OK. 10 00:00:31,620 --> 00:00:37,000 So for I in this range and print I and print the final notice. 11 00:00:37,740 --> 00:00:38,670 What would happen here. 12 00:00:40,070 --> 00:00:46,250 Let's clear up the screen first and yeah, as expected, so you can see it start from zero and ends 13 00:00:46,250 --> 00:00:46,880 to nine. 14 00:00:47,000 --> 00:00:53,750 Now why it is nine because this is N minus one, so which means nine in my case. 15 00:00:53,780 --> 00:00:59,840 So if I wanted to be thin, I need to provide as 11:00 here and it would work. 16 00:01:02,000 --> 00:01:04,580 We are using a for loop with an.