Difference between FOR LOOP and WHILE LOOP in Python programming | Python programming tutorial

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

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

  • @TycomacCodes
    @TycomacCodes  2 года назад +6

    *Part 2 out now* : ruclips.net/video/RU02hH52reI/видео.html
    since you guys really loved this video, I have created part 2, you can watch it from the above link
    ...........................................
    I have also released Patterns, Problems, Data Structures & Algorithms (3 in 1) comprehensive course check it out from the below link : www.udemy.com/course/python-for-patterns-problems-data-structures-algorithms/?referralCode=186515267189E391E366

  • @sworks4812
    @sworks4812 2 месяца назад

    You won't know how much it helps.. great explanation thank you❤

  • @sirajudheenta7523
    @sirajudheenta7523 2 года назад +16

    dude...this was the simplest yet powerful explanation , i was a bit confused about these two. now its perfect with no doubts. you deserve more views and subs ❤❤❤❤

    • @TycomacCodes
      @TycomacCodes  2 года назад +5

      Hey thanks man, really appreciate the kind words 😊❤️

    • @asiemens7
      @asiemens7 2 года назад

      Agreed. I wrote a few scripts with while loops because I was moving fast and didn’t take the time to understand for. Today I was writing vba and the suggestion was to use for. This evening I started to realize the difference but couldn’t explain the application succinctly. This is perfect. If the end condition is the end of a list or range you use for. If the end condition is anything else you use while.

  • @andreasophia7954
    @andreasophia7954 Год назад

    This video just saved me from a mental breakdown, thank u

  • @jhanuroyals4187
    @jhanuroyals4187 3 года назад +4

    Ya it's working I really telling a big thanks to u sir I forgot my confusion after watching ds video sir .

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

    Thanks, you explained in a very easy way

  • @sarveshtawde647
    @sarveshtawde647 2 года назад +1

    very helpful, Thanks @Tycomac Codes

  • @kavialin6192
    @kavialin6192 3 года назад +9

    This is pure gold. thank you bro

  • @Hidden2cloud8742
    @Hidden2cloud8742 6 месяцев назад

    Thanks for explaining the difference, i couldnt really grasp on to the concept

  • @ashokjain6237
    @ashokjain6237 2 года назад +1

    The video content is so excellent, congratulations

  • @itaahmed8498
    @itaahmed8498 3 года назад +5

    the main thing WHY and WHEN you explained bro..thanks a lot

  • @darklord2471
    @darklord2471 Год назад

    Thanks, this was really helpful.

  • @Alchemist_171
    @Alchemist_171 3 года назад +5

    Good content bro. Wish I had found this video earlier. Keep it up👍

  • @brakeduster
    @brakeduster 3 года назад +1

    Thanks for the good video about For and While loops

  • @deepakperumal5936
    @deepakperumal5936 2 года назад +1

    Very good explanation for begginers

  • @narayansharma1554
    @narayansharma1554 2 года назад +2

    Thank you so much for making this video☆

  • @alekhinesgun9997
    @alekhinesgun9997 2 года назад +1

    Concise and clear, this was an awesome vid, thanks!

  • @poeticfun
    @poeticfun 2 года назад +2

    That was incredible thanks a lot 😎👌

  • @harshavarthini8730
    @harshavarthini8730 2 года назад +1

    Just awesome and clear.

  • @allvideos7599
    @allvideos7599 2 года назад

    Which environment it is....suggest any aap that we can practice in mobile phone ...please

  • @laibarukhsar7359
    @laibarukhsar7359 3 года назад +2

    Really helpful. Thanks a lot 👍

  • @sivajiganeshchukka4757
    @sivajiganeshchukka4757 2 года назад +2

    Best example

  • @statusexpress2252
    @statusexpress2252 3 года назад +2

    What is meaning of while true here? How while true is working

    • @ramisubora8360
      @ramisubora8360 3 года назад +2

      Every time it loops it asks is the condition true (in this case it's always is) if it's true enter the loop if it's not don't enter the loop
      In this case if the programmer doesn't put a break in the body of the loop it will be an infinite loop

  • @shettyvighnesh92
    @shettyvighnesh92 3 года назад +1

    Good explanation 🙏

  • @hemanth8336
    @hemanth8336 Год назад

    Thank you bro 😃

  • @eltajbabazade1189
    @eltajbabazade1189 Год назад

    Thanks king

  • @maximuz8533
    @maximuz8533 3 года назад +2

    Holy shit man thanks alot

  • @hey-simba
    @hey-simba 3 года назад +1

    I am from fb

    • @TycomacCodes
      @TycomacCodes  3 года назад +3

      Haha good to know, haven't uploaded there much but soon i'll start uploading there too

  • @CinemaTablet
    @CinemaTablet 3 года назад +4

    So, Elon Musk and his wife changed their son's name to pass also this while loop.

  • @courtettgreene3331
    @courtettgreene3331 2 года назад +1

    The video content is so excellent, congratulations