At 23:11, how come variable i was declared twice at line 40 and 45

At 23:11, how come variable i was declared twice at line 40 and 45

@girishgargcool the i in the for loop is local to that for loop only so wont affect any other thing but you can take it as another var too no issue
dont forget to hit like and mark resolved if cleared :smiley: