Incorrect second loop used in `cindex` function

I’m not sure what to do with this issue. Has anyone else had this problem in the grader? Passes the notebook unit test and also passes the auto grader test:
Code Cell UNQ_C3: Function 'cindex' is correct.
Thanks in advance!

For the mentors ( @Mubsi ) Here is my lab id: boqjsjlw

It says is correct so I guess should be fine!

Hi @Titouan_Blaize,

In the second for loop of Ex 3, you neglected a pretty important information, #choose the range of j so that j>i.

Best,
Mubsi

Thanks Mubsi, indeed range(a,b) goes from a to b-1 while I thought it was from a+1 to b, consequently my range was only so that j >= i instead of j > i

Best,
Titouan