Python Tutorial 31: Nested While Loops

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ส.ค. 2020
  • Hey what's going on guys welcome back to the another python tutorial . Yea , so in this video i will be going over the nested while loops which are easy as hell just like the for loops !
    Link To My Python Tutorials :
    • Python Tutorial 1: Int...
    Link To My Front-end Projects Playlist :
    • Just using HTML and CS...
    I upload programming videos regularly , so if you guys are interested in learning programming you can subscribe and turn the notification bell on , for more such videos.
    I recently started front end development , you can check out my front end playlist for more front end tutorials in html , css and javascript.
    If you are new to the channel and if you haven't subscribed yet , please go ahead and subscribe .
    If you have anything to say about my codes or if you have any doubts regarding what i explain , you can always comment down below about your issue and i will make sure to answer your questions.
    Thanks for watching , stay home , stay blessed.
    #python #pythonprogramming

ความคิดเห็น • 8

  • @donluces8777
    @donluces8777 5 หลายเดือนก่อน +2

    Nice one !!! It becomes clearer to me! Thanks bro!

    • @HankTheTankCoding
      @HankTheTankCoding  5 หลายเดือนก่อน

      Glad to hear that bro!

    • @eharmantrott746
      @eharmantrott746 3 หลายเดือนก่อน +1

      How does it became 0 in last example?? While i was i=i+1

    • @HankTheTankCoding
      @HankTheTankCoding  3 หลายเดือนก่อน

      so in the last example if you see we start with i with 0 and then we start the loop and then in the loop first we print the current value of i , i.e, in the first run is 0 right after it prints 0 the value of i gets incremented by 1 , but it wont print 1 now since to print the value it needs to re run and then will print 1 in the second time the loop runs, then in third turn it will print 2, then 3 in fourth run and in 5th run it will print 4 and then the value of i will be 5 and then when it goes to start the loop it wont execute since we have i < 5 so 5 is not less than 5 so it will not print 5, hope it makes sense, idk what i typed lol

  • @rajuthoppil3393
    @rajuthoppil3393 ปีที่แล้ว +1

    Thank you

  • @simarjitsandhu8403
    @simarjitsandhu8403 ปีที่แล้ว +1

    Thank you gg