Also, it's very dynamic. I appreciate how you use input statements to allow users to create their own, desired limit for how long *start* can be less than *n* . This means that they can make the code print values all the way up to the *nth* value, as long as *start* is less than *n* . *start* may be 0, but you incremented it by 1 (start + 1), which means that once the original integer for the variable *start* is printed, _1_ integer must be added to *start* until it is not longer less than *n* ; otherwise, until it is greater then *n* . Great work! If you instead put "while start
Sorry for the question of the different topic than this but #include int main() { int i = 5; while (i-- >= 0) { printf("%d ", i); } return 0; } why does -1 prints in output?
i think you want to say thai in the last run you are getting -1. . it is because you are using i--.. which mean first i will be compared with 0 and then i will be decremented. so in last run when i is 0 condition return true and i become -1due to i - - and hence it gives -1 solution: use - - i instead of i--
This is the best explanation I had so far out of all python tutorial out there. Why did it not receive much views?!
algorithm
Very clear and understandable
This was so concise and to the point, thank you!
Your teaching skills is very amazing
in 7:50 we can also use while for that isn’t?
n = int(input())
start = 0
while start
Makes sense to me, and I'm a beginner.
Also, it's very dynamic. I appreciate how you use input statements to allow users to create their own, desired limit for how long *start* can be less than *n* . This means that they can make the code print values all the way up to the *nth* value, as long as *start* is less than *n* . *start* may be 0, but you incremented it by 1 (start + 1), which means that once the original integer for the variable *start* is printed, _1_ integer must be added to *start* until it is not longer less than *n* ; otherwise, until it is greater then *n* . Great work!
If you instead put "while start
No one can beat Neso academy
Your Teaching Method Is Amazing:)😍
So articulate, Thank you!
thank you that was detailed and easy to understand
very very nice explanation , thanks a lot....
Very helpful lecture sir
thanks bro very useful
Amazing Explanation .Thanks a lot sir 🙏
so beautiful so elegant just teaching like a wow❤❤❤
awesome...Thanks a lot, Subscribed.
Thank you sir!
Exceptional!
Thank you 😊
please upload the playlist about Queues in DS, please!
Can you upload for loop because I can understand very well by seeing your video
Thank you very much, you are the best!
Thank you so much!!
Awesome 👍
Sorry for the question of the different topic than this but
#include
int main()
{
int i = 5;
while (i-- >= 0)
{
printf("%d ", i);
}
return 0;
}
why does -1 prints in output?
i think you want to say thai in the last run you are getting -1. . it is because you are using i--.. which mean first i will be compared with 0 and then i will be decremented.
so in last run when i is 0 condition return true and i become -1due to i - - and hence it gives -1
solution: use - - i instead of i--
@@vnsshorts7119 Thank you for your explaination
Thanks brother!
# very valuable
Hi sir,can u explain y stop value shud be stop-1 y its built like that
Gud🎉
thxs❤
Can the start stop and step be variables.
10:28