Sir if here we update the loop using i+1 then second number will automatically become 2 therefore it will become the case of sum of N natural numbers which u taught in previous vedio.
Doubt in updating the loop:
hi @asthagrawal29
I didn’t exactly get ur doubt… can u explain ur doubt and also send the code u are referring to…
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.