Doubt in a single ;ine of code

m = X.shape[0]

for i in range(m):

Does this 2 lines means that i will iterate from 0 to 399?

No @Sid10, the loop iterates from 0 to m-1. So you will iterate from 0 to 398 as the value of m is 399 in this case.

Hope this helps. Please mark the doubt resolved if it has been.
Happy Learning :slight_smile: