for Loop vs. while Loop in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 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

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

  • @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)

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

  • @abhieditk5590
    @abhieditk5590 11 หลายเดือนก่อน +1

    Thanks for helping me ❤😂🎉

  • @Tom-ig3rj
    @Tom-ig3rj 4 หลายเดือนก่อน +5

    he's built different

  • @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 5 วันที่ผ่านมา

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