for Loop with range() Function in Python

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 38

  • @kaneki3194
    @kaneki3194 Рік тому +36

    This is the best explanation I had so far out of all python tutorial out there. Why did it not receive much views?!

  • @TFB0608
    @TFB0608 9 місяців тому +4

    This was so concise and to the point, thank you!

  • @dairoleslieann9921
    @dairoleslieann9921 Рік тому +16

    Very clear and understandable

  • @krishnagaming3408
    @krishnagaming3408 11 місяців тому +3

    Your teaching skills is very amazing

  • @hXXriShA
    @hXXriShA Місяць тому

    thanks bro very useful

  • @TechyNert
    @TechyNert Рік тому +1

    Your Teaching Method Is Amazing:)😍

  • @TaellaTa
    @TaellaTa 10 місяців тому +1

    So articulate, Thank you!

  • @HosamAlhabshi-xo7zi
    @HosamAlhabshi-xo7zi 11 місяців тому +1

    thank you that was detailed and easy to understand

  • @ayub365
    @ayub365 Рік тому +1

    awesome...Thanks a lot, Subscribed.

  • @Dearamwi2303
    @Dearamwi2303 10 місяців тому +1

    very very nice explanation , thanks a lot....

  • @venugopal3758
    @venugopal3758 7 місяців тому +1

    No one can beat Neso academy

  • @letsexploreourselves4002
    @letsexploreourselves4002 4 місяці тому

    Amazing Explanation .Thanks a lot sir 🙏

  • @burningshub8954
    @burningshub8954 8 місяців тому +2

    so beautiful so elegant just teaching like a wow❤❤❤

  • @shivamchakrawarti8262
    @shivamchakrawarti8262 Рік тому +2

    Very helpful lecture sir

  • @Oof-bp4wb
    @Oof-bp4wb 8 місяців тому +1

    in 7:50 we can also use while for that isn’t?
    n = int(input())
    start = 0
    while start

    • @farragoprismproductions3337
      @farragoprismproductions3337 7 місяців тому +1

      Makes sense to me, and I'm a beginner.

    • @farragoprismproductions3337
      @farragoprismproductions3337 7 місяців тому +2

      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

  • @tejaswiphadatare1489
    @tejaswiphadatare1489 2 місяці тому

    Thank you 😊

  • @idowuibitayobright3117
    @idowuibitayobright3117 10 місяців тому +1

    Exceptional!

  • @jeedhy
    @jeedhy 7 місяців тому

    Thank you very much, you are the best!

  • @bacteria4331
    @bacteria4331 Рік тому +1

    Thank you so much!!

  • @BUISNESSWISDOM
    @BUISNESSWISDOM Рік тому +1

    Thank you sir!

  • @ART99969
    @ART99969 13 днів тому

    nice explanation

  • @tnsobur1783
    @tnsobur1783 5 місяців тому

    Thanks brother!

  • @ՏԵվՏíղցհ
    @ՏԵվՏíղցհ Рік тому +1

    Awesome 👍

  • @NOno-i9e
    @NOno-i9e Рік тому +1

    please upload the playlist about Queues in DS, please!

  • @jwl796
    @jwl796 11 місяців тому +1

    thxs❤

  • @anushka136
    @anushka136 Рік тому +1

    Can you upload for loop because I can understand very well by seeing your video

  • @DanielleCohn-t4s
    @DanielleCohn-t4s 6 місяців тому

    # very valuable

  • @mandeepgoyal7895
    @mandeepgoyal7895 10 місяців тому +1

    Gud🎉

  • @invincible6230
    @invincible6230 Рік тому

    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?

    • @vnsshorts7119
      @vnsshorts7119 Рік тому

      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--

    • @invincible6230
      @invincible6230 Рік тому

      @@vnsshorts7119 Thank you for your explaination

  • @bharathilakshmi-t7b
    @bharathilakshmi-t7b 7 місяців тому

    Hi sir,can u explain y stop value shud be stop-1 y its built like that

  • @jasonhallock3773
    @jasonhallock3773 10 місяців тому +1

    Can the start stop and step be variables.