Doubt in code of Interactive plot in Linear Regression

Sir/Ma’am please clear this doubt :

Why sir did not write X_=T1[i]*X+T0[i] and what is the difference by usingT0[i] instead of T0. As we take T1[i] for
the ith point then also we have to take TO for the ith point but here sir takes all TO points in one go

Are both going to give the same result?

Thanks & Regards

hey @Royal_Yashasvi ,
yes you are right , you will get the same results with both.
Currently it actually automatically handles them, hence you were getting any error.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.