for Loop vs. while Loop in Python

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Python Programming: for Loop vs. while Loop in Python
    Topics discussed:
    1. Comparison between for Loop and while Loop.
    Python Programming Playlist: • Python Programming
    Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
    Contribute: www.nesoacadem...
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacadem...
    Website ► www.nesoacadem...
    Forum ► forum.nesoacad...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #PythonByNeso #PythonProgramming #forLoopVSwhileLoop

Комментарии • 13

  • @SergeyKloninger
    @SergeyKloninger 8 месяцев назад +4

    You can set a Limit of iterations in while Loop, it's possible, If you use Expression in python:
    n = 10,
    i = 0
    while(i < n):
    print("Do a Loop")
    i += 1

    • @BEHEADED_1
      @BEHEADED_1 7 месяцев назад +1

      range accomplishes the same thing but yeah

  • @Doggy_Styles_Coding
    @Doggy_Styles_Coding 11 месяцев назад +2

    while is kinda cool if you have just an object that can transform to "None" after some time or you have an integer which will reduced to zero you jsut have to type while(number := Number -1)

  • @iffatshaikh60
    @iffatshaikh60 11 месяцев назад +2

    Sir awesome explanation I have gone through so many channels for same concepts but you r way of explanation is awesome sir please teach sql also and where we can practice

  • @UsmanAliAli-od7eg
    @UsmanAliAli-od7eg 11 месяцев назад +2

    Thanks you dear jaspreet sing sir from pakistan 🇵🇰🇵🇰❤❤and long live for jaspreet sing sir

  • @yathishkumary1867
    @yathishkumary1867 11 месяцев назад

    please continue making videos on compiler design. thank you ❤❤

  • @mindyourown6320
    @mindyourown6320 6 месяцев назад +1

    Thank you sir 😊

  • @thesuperstomper4776
    @thesuperstomper4776 6 месяцев назад +1

    Thanks so much

  • @Tom-ig3rj
    @Tom-ig3rj 4 месяца назад +5

    he's built different

  • @abhieditk5590
    @abhieditk5590 11 месяцев назад +1

    Thanks for helping me ❤😂🎉

  • @saikumarkotra3139
    @saikumarkotra3139 11 месяцев назад +5

    Sir you are teaching is good but and try to execute the program

  • @mllokesh331
    @mllokesh331 11 месяцев назад +1

    Please add face . because it is more helpful for learning and understanding please understand 🎉🎉🎉🎉❤. tq for video 😊

  • @Mr_natenut
    @Mr_natenut 2 часа назад

    Likes 667 looks better than 666. I'm the 667th person to like this video