break and continue in Python | Python Tutorial - Day #19

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

КОМЕНТАРІ • 1 тис.

  • @CodeWithHarry
    @CodeWithHarry  Рік тому +30

    Code Backup Repository: github.com/CodeWithHarry/100-days-of-code-youtube

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

      can any one please sloved my misunderstanding
      for i in range(111):
      print("5 X", i+1,"=",(i+1)*5)
      if (i == 10):
      break
      print("this is 5 table")
      this table gone 11
      for i in range(1,111):
      print("5 X", i,"=",i*5)
      if (i == 10):
      break
      print("this is 5 table")
      And this gone on 10
      can any one please sloved my misunderstanding

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

      Sir pls pin it

    • @crazygamer82821
      @crazygamer82821 11 місяців тому

      harry bhai apna comment pin krlo wrna gum ho jye ga

    • @fawzanulhaque483
      @fawzanulhaque483 11 місяців тому

      ​@@MuhammadHashirAshfaqAs you are using i+1 that's why when I gets to 10 it prints 10+1=11. That's why it happened. In both cases it break on 10

    • @DhruvSharma-x6l
      @DhruvSharma-x6l 7 місяців тому

      Day 19

  • @vaibhavsoni4680
    @vaibhavsoni4680 10 місяців тому +16

    for i in range(1,200):
    if i>=50 and i

  • @spinexo
    @spinexo Рік тому +8

    i=int(input("enter your dream package"))
    while(i

  • @debasishbesra2901
    @debasishbesra2901 Рік тому +45

    Day 4 of #100DaysOfCode. Today, in this video 19, I learned about break and continue statements in Python. The break statement allows me to terminate a loop prematurely, while the continue statement helps me skip the remaining part of the loop and move on to the next iteration. Both statements provide more control over loop execution and flow.
    Thank You Harry Bhaiya.

    • @MuhammadHashirAshfaq
      @MuhammadHashirAshfaq Рік тому +3

      can any one please sloved my misunderstanding
      for i in range(111):
      print("5 X", i+1,"=",(i+1)*5)
      if (i == 10):
      break
      print("this is 5 table")
      this table gone 11
      for i in range(1,111):
      print("5 X", i,"=",i*5)
      if (i == 10):
      break
      print("this is 5 table")
      And this gone on 10
      can any one please sloved my misunderstanding

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

      @@MuhammadHashirAshfaq In the first loop, you are confused because you are using `i+1` when printing the table of 5. So, when i == 10, the table still prints till 11 because 10 + 1 = 11. And the second one isn't printing till 11 since its not using `i + 1`. Hope it clears your misunderstanding

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

      @@MuhammadHashirAshfaq the above reply corrected your misunderstanding, I will solve your misunderstanding without changing your i+1 thing, you can simply put...
      if (i == 10):
      break
      right after the for i in range(111)
      it will break the loop at i ==10 without printing next iterations

    • @divyanshutiwari5450
      @divyanshutiwari5450 3 місяці тому +1

      @@MuhammadHashirAshfaq in first code its i + 1 but in second one its just i . I hope you understand

  • @dabilover444
    @dabilover444 Рік тому +7

    #5 table
    for i in range(1,11):
    print("5 *", i, "=", 5*(i))

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

    Best python course ever on UA-cam

  • @charcheetdh
    @charcheetdh Рік тому +50

    You didnot Choose Coding, Coding Choose YOu bro. LOve from Nepal❤

    • @Lucifer-ff5eg
      @Lucifer-ff5eg Рік тому +3

      Love from nepal 💜

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

      I not think coding choose his
      This is his hard work

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

      @@ApniGardening7 Bro listen, I want told him in the context of he is supertalented in the area of coding .

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

      Love from Bhairava

    • @San-Deve
      @San-Deve 7 місяців тому

      I think you should take English class before Python. ​@@ApniGardening7

  • @Mohitkdm_vlogs
    @Mohitkdm_vlogs Рік тому +9

    your notes and videos are so amazing for a beginnner learing python❤❤❤❤❤❤❤❤❤

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

      May I know from whr did you get his notes??

  • @earnonline7205
    @earnonline7205 Рік тому +17

    Thanks Dear Harry!
    You are amazing nd content you are publishing for free is beyond expectations. I am currently doing a job, + doing BBA; 07 Semester (which is like compulsory for my current job promotion etc.,)
    I can not manage my home expenses with my current job. Therefore I have started learning Python, So I can earn some extra income.
    So far I had learned all python basic from another UA-cam channel and but I was not truly satisfied with it.
    So, I started to learn with you today I am on Day 19. Besides, I have good grip on Python Basic tasks. I am loving your content, & adding extra values in my Basic.
    " Thanks again"

  • @FoxMC07
    @FoxMC07 Рік тому +98

    Actually, I completed the 15 hour python cource just 3 days before Harry Bhai started #100daysofcode
    I am now just watching those topics which were uncovered or (updated python )
    Thanks again for this cource!!! 😁

    • @gopalkushwah3831
      @gopalkushwah3831 Рік тому +6

      It's a fake reality

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

      How long did it take you to complete the video?

    • @FoxMC07
      @FoxMC07 Рік тому +3

      @@mariamhasan3733 it took me about 1 month
      Because I was told to watch videos only 1 hour per day...
      And I was making notes with that too...ik that notes were given but still I made

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

      @@FoxMC07 Can you please share your notes

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

      @@shubhamkumarvishwakarma9949 I can't but you can download Harry's notes in description.....sorry 😔

  • @amitranjeetjha1240
    @amitranjeetjha1240 Рік тому +14

    This course is awesome 🔥🔥

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

    THANKS SIR G AP IS COURSE KA LIYA BOHAT MAHANAT KR RAHA HA OR WO B SIRF HAMARA LIYA
    AP KA BOHAT THANKS SIR R ♥♥♥

  • @siddharthguliyani4032
    @siddharthguliyani4032 Рік тому +15

    Saw this playlist on day 9, & covered it in fast pace, now i always wait fr 5 pm in the evening. Thanks Harry bhai.

    • @steps.ofLife
      @steps.ofLife Рік тому +2

      are you using replit?i want to ask that in the start of this challenge till day 11 the video tutorial was showing on replit for easy working side by side,which was very useful.But after 11th class their was no video is linked or it is not showing to me which become hectic for me to first watch it from yt then implement it in replit.So is their is any one who is facing the same problem of not getting video tutorial????

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

      @@steps.ofLife bro you can access the playlist 👍 That's you happy 🤓

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

      Fr means for real not for. please correct it 😶😶😶

  • @PhotoshopEditing-t9s
    @PhotoshopEditing-t9s 2 місяці тому

    simple table of 5 using for loop:
    for table in range(1,15):
    print("5 *",table, "=", 5*table)
    if(table==10):
    break

  • @luhem_
    @luhem_ Рік тому +5

    Harry bhai add some coding exercises at the end of each video . btw amazing series!!!

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

    My attempt at emulating a do while loop
    while(bool("True")):
    # contents of loop
    if(condition==False):
    break
    while loop will run atleast once. I cracked this idea from the last video where you showed how c++ has do while loop at the END of the contents of the loop. Thank you for this amazing exercise it feels great after cracking a problem down
    EDIT: after watching the solution I am glad the logic somewhat matched! (the bool("True") was unnecessary lol)

  • @piyushkhanna1755
    @piyushkhanna1755 Рік тому +13

    LOVE SKILLS + LEARN SKILLS = EARN MONEY SKILLS = LOVE YOU HARRY SIR 😃😃😃❤️❤️❤️❤️❤️👍👍👍👍👍👍

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

    Sir aapka explanation mujhe easy me samjh me aa jata hai so tnk u sir for giving knowledge

  • @realsigmatude
    @realsigmatude Рік тому +9

    I was not aware about this When I cam to know this series is live I binge watched the whole playlist till now in an hour

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

      Yaar matlab kuchh bhi
      saare videos 2x pe bhi dekhoge to bhi 100 mins se jyada lagega
      and you are saying ki you just watched all the videos in just 60 mins.

    • @rohanrajput_9
      @rohanrajput_9 Рік тому +5

      @@nitish6239 I can watch this in one hour, the concepts are very simple for someone who knows 2-3 programming languages so you can skip parts of the video

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

    total = 0
    a = int(input("enter number : "))
    for i in range(10):
    if i == 10:
    break
    x = a * (i + 1)
    print(a,"×", i + 1, "=", x)
    total += x
    print("Sum of multiples:", total)

  • @YogeshKumar-kr1ke
    @YogeshKumar-kr1ke Рік тому +34

    Thank you sir , you are working hard for us❤️❤️🥰

  • @SSR3B
    @SSR3B 3 місяці тому

    for i in range(1, 200):
    print(i * 5)
    if i * 5 >= 50:
    break
    print('limit reached')

  • @PROGRAMMER_CODER
    @PROGRAMMER_CODER Рік тому +6

    Also we can write this way:
    for j in range(1,14):
    if j>10:
    break
    print("5 X",j,"=",5*j)

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

    for i in range(1,200):
    if i>=50 and i

  • @sagarm17
    @sagarm17 Рік тому +4

    Sir, Thanks a lot for explaining all imp units of Python on next level. I'm requesting you, please 🙏 provide one zip file containing notes and programs. Waiting.....

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

    # Initialize a variable
    i = 1
    # Execute the loop at least once
    while True:
    print("5 x",i+1,"=",5*(i+1))
    i = i+1
    if (i == 10):
    break
    i tried to write this program in dowhileloop

  • @saimaheshri
    @saimaheshri Рік тому +6

    Main aapke purane video dekh raha hoon Python ke ismein aur usmein kya difference hai please tell me sir

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

      Yee brand new course he , some other topics are covered in new course and some new projects

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

      @@badalsahoo3902 Ok bro thanks 🙂🙂

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

    Har Video ke starting me jab aap smile krte ho... goosebumps❤️❤️❤️❣️❣️ Love from Ahemdabad

  • @_tryn_
    @_tryn_ Рік тому +5

    Harry Sir, I'm right now in class 9th and i have extreme interest in computers and i want to work for Google or Microsoft in the future, so i am learning web dev and python since class 8. I've made a fully functional chess ai in python on my own and a portfolio website. My question is, Is this the right time to do all this?

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

      Yes this is right you can learn programming at this time as it will benifit your future. Getting practical knowledge is much better than theory and i also do such programming and i am also in 9th so yeah, i guess it is the right age to do so...

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

      i am in class 8th and i started it in class 7th from @codewithharry and i think its the best time to start coding because now is the time when we can understand much of the things

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

      @@atharvapatel1 i started from class 3rd bro... We are different. 💀

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

      I also started in 7th grade and now I am in 9th grade It's very beneficial for us. I have till now learned java python HTML CSS and js from harry bhai

    • @ajayjadhav1637
      @ajayjadhav1637 Рік тому +7

      Me who in final sem of engineering and learning my first language💀💀

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

    Harry bhaiya mast playlists bnate h

  • @nafisabid202
    @nafisabid202 Рік тому +10

    #HarryBhaiya we need some practice problems also at the end of each video...........as you did in your 15 hours one shot video

  • @rishirajvlogs3131
    @rishirajvlogs3131 6 місяців тому

    for i in range(11):
    print("5 X", i+1, "=", 5 * (i + 1))
    if(i == 10):
    break
    print("Loop ko chodkar nikal gaya")

  • @atharvadhobale8747
    @atharvadhobale8747 Рік тому +3

    @codewithharry please take patterns as deep as possible in this course. I am sure you will see my comment. Thanks in advance 🙏

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

    break statmant
    #simple table of 10 usage for loop:
    for table in range(1,15):
    print ("10*",table,"=",10*table)
    if(table==10)
    break

  • @ApniGardening7
    @ApniGardening7 Рік тому +6

    Harry you are brilliant in coding

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

    Love From Nepal Harry Bhai. I want to tell You something harry bhai, I love you❣

  • @inlife9120
    @inlife9120 Рік тому +6

    Loved the fact that it's for free in youtube. Just need to have data package. Thanks Bhai... You're saving Education itself.

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

      tho bhai data bi free karde apke liye??

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

      kaise kaise log hai ..if u want to appreciate do it neatly

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

      @@JENNYOPJOD tu krdo bhai tera g*ande de ke. Hum se to itna he hosak ta he bhai...

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

    for i in range(10):
    if (i == 8):
    break
    print ("10 X ",i+1,"=",10*(i+1))
    print ("loop ko chor kr nekal jao")
    #break terminate entire loop

  • @hindivines462
    @hindivines462 Рік тому +4

    #19 Thanks for this course sir 🙏🙏

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

    the updation statement in do while loop emulation should be at the end becoz if i =100
    then then loop will run till 200 since updation statement is in betwwen

  • @gitikapinjani
    @gitikapinjani Рік тому +3

    Nicely explained!

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

    Love from Pakistan sir.... Big fan💜💖💖

  • @rafaybaig4281
    @rafaybaig4281 5 місяців тому +13

    Correction in 2:45
    for i in range(10):
    print("5 x",i+1,"=",5*(i+1))
    output:
    5 x 1 = 5
    5 x 2 = 10
    5 x 3 = 15
    5 x 4 = 20
    5 x 5 = 25
    5 x 6 = 30
    5 x 7 = 35
    5 x 8 = 40
    5 x 9 = 45
    5 x 10 = 50
    or second method:
    for i in range(1,11):
    print("5 x",i,"=",5*i)
    output:
    5 x 1 = 5
    5 x 2 = 10
    5 x 3 = 15
    5 x 4 = 20
    5 x 5 = 25
    5 x 6 = 30
    5 x 7 = 35
    5 x 8 = 40
    5 x 9 = 45
    5 x 10 = 50

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

      First watch the full video

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

      @@DailyMind96 already dekh li he bro, lekin me bohot genius ho pehle hi issues figure out kar leta ho

    • @gauravkumarjha8296
      @gauravkumarjha8296 3 місяці тому

      ​@@rafaybaig4281Bhai agar jyada genius bn rha h toh ye dekh le harry ne jyada range isi liye liya h taaki break statement lagake loop ko rok ske jaise hi 5×10=50 ho genius h thik but jo baaki h unhe smjhne do yaha p harry bhai ne break statement lagana sikhaya h

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

    Day 19 done, thanks

  • @Alimaz2
    @Alimaz2 Рік тому +4

    break statement kahy gah : jaldi hato waha sy📢

  • @user-ShashankTiwari123
    @user-ShashankTiwari123 7 місяців тому

    Thanku code with harry for provideing free python course

  • @tajinder715
    @tajinder715 Рік тому +259

    kon kon video dekh kar confident feel krta hai???????🤘🤘🤘🤘🤘🤘

  • @Animeworld.fz0
    @Animeworld.fz0 Рік тому

    Aap bht acche se btate h bhai
    So apko dil se thanks salute bhai

  • @Unknown-ey4wn
    @Unknown-ey4wn Рік тому +3

    Hello guys I am happy to introducing new Rapper in the home. Have fun at 11:45

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

    thank you very much sir.........

  • @ShadowCipher
    @ShadowCipher Рік тому +4

    8:12
    My Implementation of Do While loop😉😜 ..
    #Emulating Do While Loop in Python
    while True:
    number = int(input("Enter a positive number: "))
    print(number)
    if number ==0:
    print("Zero ka kya karu?!!!")
    elif "69" in str(number):
    print("Bahut Tez Ho rhE Ho!!")
    elif not number > 0:
    print("Andha Hai kya LauDe!! Positive daal")
    break
    Hope that Made you Smile:)😁🤪

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

      main bhi aisa hi masti karta tha...semester project ka ui design kar rha tha...ek case me " tu gand mara" likh rakkha tha...badd me change karna vul gya..aur wahi version submit kar dia...🙂🙂

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

      @@rohitpaul2750 Rest In Peace bro..

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

      can any one please sloved my misunderstanding
      for i in range(111):
      print("5 X", i+1,"=",(i+1)*5)
      if (i == 10):
      break
      print("this is 5 table")
      this table gone 11
      for i in range(1,111):
      print("5 X", i,"=",i*5)
      if (i == 10):
      break
      print("this is 5 table")
      And this gone on 10
      can any one please sloved my misunderstanding

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

      @@MuhammadHashirAshfaq in the 1st code print statement you written i+1 and the nxt statement you written just i that's what make difference bro

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

      Best one 😂😂😂😂

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

    Sir 1 video app development with python par bhi bana de . Mere jese Bigners k lye 1 boost hoga jo wo ap se seekh rahay he . Or bohot se doubts bhi clear ho jaenge. Thanks for your videos 👍

  • @saimaheshri
    @saimaheshri Рік тому +3

    Hi

  • @shaon1412
    @shaon1412 Рік тому +3

    day #8 of asking to make a discord server

  • @tommyvercetti1530
    @tommyvercetti1530 3 місяці тому

    thank you sir for helping me out of confusion

  • @BhaiKbhai-l2q
    @BhaiKbhai-l2q 9 місяців тому +79

    Any class 12th Cs student here😅

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

    Thank you so much 🙏

  • @kracksilentgaming2830
    @kracksilentgaming2830 Рік тому +3

    Aap is video ko 1x me hi dkh rhe h 😂😂

  • @DishaanChahal
    @DishaanChahal 9 місяців тому +1

    How is this any different from do while loop -
    for i in range(100):
    print(i)
    i=i+1
    if (i%100==0):
    break

  • @adityagoswami8144
    @adityagoswami8144 Рік тому +4

    Did anyone notice the topic of day 20 and 21 at 8:10

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

    Day 19 Present Sir .
    Love and respect from Pakistan

  • @OPS..Ajeet..kr..
    @OPS..Ajeet..kr.. 10 місяців тому

    for i in range(12):
    print ("5 X",i, "=",5 * i")

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

    Thank you sir. so much respect for you from Pakistan.

  • @SL-zg9on
    @SL-zg9on Рік тому

    We can use two conditions with or in while loop to make it run atleast once

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

    Course is amazing

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

    break = loop ko chod kar nikal jao

  • @chaitanya-n2y
    @chaitanya-n2y 5 місяців тому

    My practice problem for Break and Continue Statement
    #practice problem on break statement
    for i in range(1,10+1):
    if (i == 10):
    print("It is a century")
    break
    print("10 X", i,"=", 10*i)
    print("Successfully excecuted")
    #practice problem on continue statement
    for i in range(20+1):
    if (i == 10):
    print("It is a century")
    continue
    print("10 X", i,"=", 10*i)
    print("Successfully excecuted")

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

    I also made one see 👇
    i = 0
    while True :
    print(i)
    i = i + 1
    if i==(40):
    break

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

    for table of 5 you can use this code
    for i in range(10):
    print((i+1)*5)

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

      sure this will work, but this wont give the output we usually write as in notebooks i.e. 5x5=25, happy coding

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

      and for 10?

  • @AMARJEETKUMAR-ce9sc
    @AMARJEETKUMAR-ce9sc Рік тому

    Khuda ka bheja Hua Nayab Hira..Well done Harry Bhai...God Bless you for all the good work you are doing..Kudus...

  • @adityanair1112
    @adityanair1112 10 місяців тому

    i dont know how i can thankyou i AM LEARNING PYTHON FOR LAST 5 MONTHS FROM MY TEACHER AND what i underwstood is take input and print but since i started to follow to classes my level of understanding python is just fire

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

    sir a few days ago i made a table counter that takes the number whose table to count and limit till where it should count using the knowledge i got in your videos

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

      I also did that same program before seeing your comment

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

    Assalam.O.Alaikum!!
    Harry Bhai you are bestest Teacher💞💞💞...

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

    How I write this code according to my understanding:
    #Write the math table
    number=int(input("Table of: "))
    for i in range(1,12+1):
    print(number,"X", i, "=",number*i)
    if(i==10):
    break

  • @rockybob-df1el
    @rockybob-df1el 8 місяців тому

    best python course ever in histroy

  • @its_sk_sahab
    @its_sk_sahab 3 місяці тому

    Bro jitni tareef replet ki kr rhy lga rhy achy khasy dollars mily

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

    Sir aap c++ or Java or python or php sab programming language pe video banaye please sir

  • @user-df6bl8md6t
    @user-df6bl8md6t Рік тому

    for i in range(12):
    print("5X",i,"=",5*i)
    if(i==10):
    print("skip the iteration")
    why is this giving the following output?
    5X 0 = 0
    5X 1 = 5
    5X 2 = 10
    5X 3 = 15
    5X 4 = 20
    5X 5 = 25
    5X 6 = 30
    5X 7 = 35
    5X 8 = 40
    5X 9 = 45
    5X 10 = 50
    skip the iteration
    5X 11 = 55

    • @Cpiumbirb69-cd8su
      @Cpiumbirb69-cd8su Місяць тому

      Because range is from 0 to n-1 where n is 12 here

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

    we need a similar coure for sql as well

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

    Break : loop ko chor kr nikal jao.
    Continue: Iteration ko chor kr nikal jao.
    Do while loop:
    while True
    code
    if(statement):
    break

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

    And I will see you next time.
    I love this sentence when harry bhai says it.

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

    Same like this please make c++ course bro

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

      c++ ka Bana to rkha hai bar bar thodi banaenge bhai

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

    break ststement says: "iss loop ko chhodkr nikl jao."....this line touches many of our hearts; harry se sikhe koi"ganit sathe gammat" ye hamari gujarati kahavat hai...

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

    Bro plz make video on chatGPT according to your perceptive.

  • @HotmarkComputech.18
    @HotmarkComputech.18 Рік тому +1

    Paid Courses ki Wattt laga di Harry vai...😄 Love You Harry vai,🥰 Bcz of only you, I am called the best programmer in my Clg...

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

    00:03 How to use 'Break Statements' and 'Continue Statements' in Python loops
    01:28 Replit navigation is smooth
    03:03 'Break Statements' will say 'Just exit this loop'
    04:40 Break and Continue Statements in Loops
    06:14 The 'Continue' statement is used to skip iterations in a loop.
    07:36 Emulating 'Do While Loop' using an Infinite While Loop
    09:02 The code emulates a 'Do While Loop'
    10:38 Understanding 'Do While Loop' and its implementation in Python.

  • @unknownerror-t5u
    @unknownerror-t5u Рік тому +2

    3:07 Right code =
    user_input = int(input("Enter a number for Table :"))
    print (f"This is the Multiplication table of {user_input}.")
    for k in range (1,13):
    print (f"{user_input} X {k} = {user_input * k}")
    if k == 10:
    break
    print ("Now loop is breaked.")

  • @md.mominurrahman747
    @md.mominurrahman747 Рік тому

    Present brother, Love ❤️ from Bangladesh 🇧🇩

  • @Animeworld.fz0
    @Animeworld.fz0 Рік тому

    Aap ka jitna bhi thanks bolu km hai BHai❤❤🤟

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

    Harry your my inspiration ☺️ love you bro

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

    for i in range(10):
    print("5 X",i+1,"=",5*(i+1))
    if(i==5):
    print("skip")
    break
    print(" ")
    print(" ")
    print(" ")
    for i in range(10):
    if(i==7):
    print("skip")
    continue
    print("5 X",i+1,"=",5*(i+1))
    🎉🎉🎉🎉🎉🎉

  • @funclub7662
    @funclub7662 9 місяців тому

    At 10:03 , apne kaha ki while loop True ho ya False ho ye loop chlegi hi chlegi, but agar while ko false kar dia zaye to wo loop hi nhi chlegi for ander break condition lga ho ya na lga ho koi fark nhi parta, correct me if I'm wrong.

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

    Completed till here ❤

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

    @CodeWithHarry you are class in your class!!!👏👏👏

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

    day 19 completed

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

    03.16
    Break statement will say
    "Just exit the loop"

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

    Present Harry bhaiya 🙂

  • @SambhavJain-vk9sy
    @SambhavJain-vk9sy 4 місяці тому

    00:03 How to use 'Break Statements' and 'Continue Statements' in Python loops
    01:28 Replit navigation is smooth
    03:03 'Break Statements' will say 'Just exit this loop'
    04:40 Break and Continue Statements in Loops
    06:14 The 'Continue' statement is used to skip iterations in a loop.
    07:36 Emulating 'Do While Loop' using an Infinite While Loop
    09:02 The code emulates a 'Do While Loop'
    10:38 Understanding 'Do While Loop' and its implementation in Python.
    Crafted by Merlin AI.

  • @MuhammadIhsan-gu6ks
    @MuhammadIhsan-gu6ks Рік тому

    the code of table of 5 is :
    for i in range(1, 21):
    print('5 X', i, '=', 5 * i)

  • @anonymous____________________4

    Pranam bhrata 🙏 apka bahutt baht dhanyawad ❤️😌🙏😇