#20 Python Tutorial for Beginners | While Loop in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ค. 2018
  • Telusko Courses:
    Spring and Microservices Live Course : bit.ly/springmslive
    Coupon: TELUSKO25 (25% Discount)
    Industry-Ready Java Spring Microservices Developer Live : bit.ly/JavaMS2
    Complete Java Developer Course : bit.ly/Comp-Java-Dev-2
    Coupon: TELUSKO20 (20% Discount)
    Udemy Courses:
    Java:- bit.ly/JavaUdemyTelusko
    Spring:- bit.ly/SpringUdemyTelusko
    Java For Programmers:- bit.ly/javaProgrammers
    For More Queries WhatsApp or Call on : +919008963671
    website : courses.telusko.com/
    Instagram : / navinreddyofficial
    Linkedin : / navinreddy20
    TELUSKO Android App : bit.ly/TeluskoApp
    In this lecture, we will learn:
    - Loops in Python language
    - What is the use of loops?
    - While loop and its implementation
    - Syntax of the while loop
    - Nested while loops in python
    - What is the 'end' parameter in python?
    #1
    - We can execute a statement multiple times, by using the loops.
    - There are two types of a loop:
    1. For loop
    2. While loop
    - In the while loop, we need a counter to count the number of times, a statement can be executed.
    - We also have to put a condition in a while loop to repeat a statement until the given condition is satisfied.
    - The while Loop. With the while loop, we can execute a set of statements as long as a condition is true.
    - When the condition becomes false, the line immediately after the loop in the program is executed.
    - The value of the counter will increase or decrease until the condition gets false.
    #2
    - Syntax of the while loop:-
    counter variable
    while (condition):
    statements;
    incrementation/ decrementation
    - So, there must be three things in a while loop:-
    1. Initialization
    2. Condition
    3. Increment / Decrement
    - Nested while loops can also be used in Python.
    - Nested while loop simply means that a loop inside another loop.
    #3
    - To print the values in the same, we use (end=" "). The value will not come in the new line after using it.
    - Passing the whitespace to the end parameter (end=' ') indicates that the end character has to be identified by whitespace and not a new line.
    Github :- github.com/navinreddy20/Python-
    Python for Beginners :- bit.ly/3JOLQhl
    Editing Monitors :
    amzn.to/2RfKWgL
    amzn.to/2Q665JW
    amzn.to/2OUP21a.
    Java:- bit.ly/JavaUdemyTelusko
    Spring:- bit.ly/SpringUdemyTelusko
    More Learning :
    Java :- bit.ly/3x6rr0N
    Python :- bit.ly/3GRc7JX
    Django :- bit.ly/3MmoJK6
    JavaScript :- bit.ly/3tiAlHo
    Node JS :- bit.ly/3GT4liq
    Rest Api :-bit.ly/3MjhZwt
    Servlet :- bit.ly/3Q7eA7k
    Spring Framework :- bit.ly/3xi7buh
    Design Patterns in Java :- bit.ly/3MocXiq
    Docker :- bit.ly/3xjWzLA
    Blockchain Tutorial :- bit.ly/3NSbOkc
    Corda Tutorial:- bit.ly/3thbUKa
    Hyperledger Fabric :- bit.ly/38RZCRB
    NoSQL Tutorial :- bit.ly/3aJpRuc
    Mysql Tutorial :- bit.ly/3thpr4L
    Data Structures using Java :- bit.ly/3MuJa7S
    Git Tutorial :- bit.ly/3NXyCPu
    Donation:
    PayPal Id : navinreddy20
    www.telusko.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2.1K

  • @JoeyFlowers
    @JoeyFlowers 5 ปีที่แล้ว +1477

    "it's not difficult, it's just unfamiliar"
    I absolutely love this quote and plan on stealing it for so many things. :)
    Also I'll recommend this playlist and give you credit

    • @damansharma6737
      @damansharma6737 5 ปีที่แล้ว +26

      seriously dude ..i just love that quote and no doubt he is the best teacher to learn programming from.

    • @anusmitasamanta2608
      @anusmitasamanta2608 4 ปีที่แล้ว +5

      @@damansharma6737 you are right

    • @gatroeboy
      @gatroeboy 4 ปีที่แล้ว +2

      Joey flowers do you have entrepeneur in your bio by any chance?

    • @sanjaykumar-wh9ej
      @sanjaykumar-wh9ej 4 ปีที่แล้ว +4

      I scroll down for writing the same comment but you have this comment , hence I liked your comment

    • @motamn26
      @motamn26 2 ปีที่แล้ว

      That's Klawat كلاوات

  • @Prashant-gj8hl
    @Prashant-gj8hl 5 หลายเดือนก่อน +123

    Any one here in 2024..??

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

      Uni got me here 😢

    • @sncreation.mahi.1728
      @sncreation.mahi.1728 2 หลายเดือนก่อน

      Yes

    • @ugochukwuonwuchekwa1077
      @ugochukwuonwuchekwa1077 2 หลายเดือนก่อน +1

      Definitely bro.

    • @AM-Boluke1210
      @AM-Boluke1210 2 หลายเดือนก่อน +4

      April 1 2024 😅

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

      @@AM-Boluke1210you’re not alone brother , let go get it ✊🤞

  • @mahadevprasadpal7829
    @mahadevprasadpal7829 2 ปีที่แล้ว +609

    So no-one is here after 3 years 😂 except me and still this video is a great solution 😀👍👍

  • @AdityaPandey-ow2yu
    @AdityaPandey-ow2yu 3 ปีที่แล้ว +86

    Thx a lot i finally understood. I was stuck in this thing for days until I discovered your video.

    • @duniya_ka_papa32
      @duniya_ka_papa32 3 ปีที่แล้ว

      Which course u was watching???
      Means of which TH-camr

    • @flossdojo5151
      @flossdojo5151 3 ปีที่แล้ว

      @@duniya_ka_papa32 I am watching Corey shafer Or something like that

  • @Chinarkashmirmusic
    @Chinarkashmirmusic 4 ปีที่แล้ว +206

    The moment you said its not hard its unfamiliar . it boosted me to the sky . Thank you ❤

  • @tutohowto5345
    @tutohowto5345 4 ปีที่แล้ว +142

    👌👌👌
    "it's not difficult, it's just unfamiliar"

  • @nhnsaru
    @nhnsaru 2 ปีที่แล้ว +4

    Thanks for the Quiz. Learnt and and or with If condition.
    *Q - Print numbers from 1-100 skipping the numbers divisible by 3 & 5*
    i=1
    while i

  • @maresaedwards8471
    @maresaedwards8471 3 ปีที่แล้ว +17

    Thank you so much for putting this together and walking through every step! This is so helpful for learning and really coming to understand how loops work in a programming mindset. I'm going to rewatch it again and again until I memorize this ha!

  • @MK-yl7jl
    @MK-yl7jl 5 ปีที่แล้ว +193

    Dude, Debugging saved my life. I wasn't using it until I watched your videos and now I can see how useful it is.
    Thank you so much

    • @azif1858
      @azif1858 4 ปีที่แล้ว

      Crct bro

    • @ashish2099
      @ashish2099 4 ปีที่แล้ว

      Yeah bro, exactly my thoughts

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

      if i use debug its debuging venv how to resolve it ?

    • @arathip3699
      @arathip3699 2 ปีที่แล้ว

      Me too

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

      Anyone know how to use debugging function in the same way that he does on VSCode ?

  • @rameshbcom7646
    @rameshbcom7646 3 ปีที่แล้ว +26

    I love this channel...
    Edureka and Telusko are 2 channels doing more for the students than the education system itself!
    Keep growing Sir

  • @HayKay_
    @HayKay_ 2 ปีที่แล้ว +8

    "It is not difficult, it is just unfamiliar". This is the quote of the year. Learning any new thing can be viewed from this angle. Thank you. 😊

  • @nalinabk4764
    @nalinabk4764 3 ปีที่แล้ว +2

    I must say , being a new person to learn programming language, i am having so much of interest and fun for watching your videos, the way you are teaching is marvelous. Thank you so much for making easy task for us.

  • @fathimaarafa2585
    @fathimaarafa2585 5 ปีที่แล้ว +29

    to be honest, you are really a great teacher and a wonderful programmer

  • @abhi36292
    @abhi36292 5 ปีที่แล้ว +23

    downloaded many python courses from different sites , couldn't grasp them very well,this helped
    thanks sir
    subscribed :)

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

    super sir ! i was taught while loop in C in class 11th, 30 years back, the looping now u have explained is marvelous ! Great ! God Bless You !

  • @pratap_divyansh8453
    @pratap_divyansh8453 3 ปีที่แล้ว +4

    I really enjoyed his way of teaching and the way he explains the concept is just amazing 👍👍👍👍

  • @saranyakandaswaminataraj3980
    @saranyakandaswaminataraj3980 5 ปีที่แล้ว +24

    Python tutorial is very good and you explained it in a detailed step by step manner. Thank you sir.
    1st question:
    i=1
    while i

    • @standman007
      @standman007 5 ปีที่แล้ว

      Why i=i+1 twice?

    • @divkansara4513
      @divkansara4513 4 ปีที่แล้ว

      Thank u

    • @AcuitSrishaGr
      @AcuitSrishaGr 2 ปีที่แล้ว

      @@standman007 cause if condition fails it doesn't do anything

    • @HayKay_
      @HayKay_ 2 ปีที่แล้ว +2

      Thanks for sharing this. I didn't know how to exclude numbers that are divisible by 3 and 5 from the code.

    • @rajendram867
      @rajendram867 2 ปีที่แล้ว +4

      a = 1
      while a < 101:
      if a % 3 and a % 5 != 0:
      print(a)
      a = a + 1
      thank you for the logic. instead of that we can directly assign the increment under the while statement.
      Please correct me anyone, if I'm wrong

  • @ashwingunasekaran7272
    @ashwingunasekaran7272 5 ปีที่แล้ว +64

    Hello Telusko , I am studying in one of the best university for data science and they gave introduction of python loop which i found it difficult to understand even asking them to explain twice but your 15 mins video made it very simple . Really your amazing and thank you so much .

    • @raorao7329
      @raorao7329 11 หลายเดือนก่อน

      In which university had you studied?

  • @ananyamukherjee7601
    @ananyamukherjee7601 ปีที่แล้ว +5

    I was not able to understand this concept and found myself as a fresher to this concept, I want to say thank you for making these simple videos so as to make it more "familiar" and "clear" to us and that too in an intresting way🥰

  • @stressfree_art
    @stressfree_art 4 ปีที่แล้ว +7

    After searching so many channels I found your channel for pythod ..
    Now my search end here ..
    I must say ur python playlist is best on TH-cam

  • @sharukhmemon9841
    @sharukhmemon9841 4 ปีที่แล้ว +4

    I was finding a channel for Python learning from basics and then I got this channel (y).
    your way of teaching is superb.
    Thank you soo much for these videos.

  • @bhuvanspahuja2008
    @bhuvanspahuja2008 4 ปีที่แล้ว +16

    For Printing values from 1 to 100 excluding numbers divisible by 3 or 5
    i=1
    for i in range (1,101):
    if(i%3 ==0 or i%5==0):
    continue
    else:
    print(i)
    For Printing the '#' pattern
    i=1
    while i

  • @harshit3985
    @harshit3985 2 ปีที่แล้ว +18

    Idk why people say they are not able to understand python lectures in English. He taught in such a nice manner . You are an amazing teacher , hats off to you

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

    When everyone is trying to make things mug up, Naveen u stood out for explanation and your explanations are easy and best.
    Exceptionally best you are Naveen.

  • @venkatakumaresan2711
    @venkatakumaresan2711 5 ปีที่แล้ว +4

    I have never seen in my whole life, a person teaching better than this for if else,while loop explanation...Kudos bro for great job!!

  • @shaikatmajumder3156
    @shaikatmajumder3156 5 ปีที่แล้ว +8

    i dont generally comment in youtube videos even if i like them. But Sir your videos are truly a class apart. I mean its so simple and precise! Got just exactly what i needed. I hope you keep on releasing more videos.

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

    I love your series, you get into details that other teachers take for granted

  • @JyotiSingh-sz7ox
    @JyotiSingh-sz7ox 4 ปีที่แล้ว

    Best Teacher ever. I am from non programming background but the way you explain is awesome!

  • @Mothishbk
    @Mothishbk 5 ปีที่แล้ว +3

    Oh man i used to see your videos for data structure concept but i didnt knew that you did this python ..seriously amazing im myself solving some codes without any trouble

  • @sankitkundu1654
    @sankitkundu1654 3 ปีที่แล้ว +33

    i=1
    while i

    • @DaddyCreations
      @DaddyCreations 3 ปีที่แล้ว

      bro what does this(!) symbol mean ?

    • @amberkumar323
      @amberkumar323 3 ปีที่แล้ว +4

      Its not !..its != Which means not equal to

    • @KrishKumar-wr9jc
      @KrishKumar-wr9jc 3 ปีที่แล้ว

      Bro You should use or

    • @abdulfareed2585
      @abdulfareed2585 3 ปีที่แล้ว +5

      @@KrishKumar-wr9jc no if we use or then it will print all numbers upto 100 coz
      "or" takes either one condition is true
      Eg: if number is 3
      checks 3%3 !=0 - false
      or
      checks 3%5 !=0 - true
      Then it will print 3 also

    • @MrKneeah
      @MrKneeah 3 ปีที่แล้ว +3

      @@abdulfareed2585 The problem says all values up to 100
      i = 1
      while i

  • @shivangshukla5200
    @shivangshukla5200 3 ปีที่แล้ว +4

    This much examples really helped my thinking.
    Perfect video for while loop🔥

  • @evar5831
    @evar5831 2 ปีที่แล้ว

    Love how you speak so fast. Makes it easier to understand somehow. Easier to concentrate. Your instructions are also very clear. I understood perfectly.

  • @nagarajmpn
    @nagarajmpn 4 ปีที่แล้ว +42

    The way of teaching and presentation are simply awesome! You are one of my inspiration. Please take a bow from me! Naveen

  • @Josephmargay
    @Josephmargay 4 ปีที่แล้ว +35

    Code for question 2:
    a = 1
    while a

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

      @Joseph Margay What Is The Use Of 5*

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

      @@tirthpatel7388 *5 is used to print '#' 5 times on the same line

    • @gopikrish5997
      @gopikrish5997 4 ปีที่แล้ว +2

      @joseph margay i think it will print like #####, but our output is like # # # # #. Do u know how to resolve this issue. I suggest '# ' one space between the qoute. Is that correct?

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

      @@gopikrish5997 i = 1
      while i

    • @burdenonsociety2009
      @burdenonsociety2009 2 ปีที่แล้ว

      @@bablukumarpatel1962 what thqi print() at the end of code is used for...is it to print the outer loop in New line each time

  • @dlizard04
    @dlizard04 3 ปีที่แล้ว

    Thank you so much . I love you videos. When I don't understand a term or concept I look for the answer on your channel. You're doing a great job here.

  • @t-perm9627
    @t-perm9627 2 ปีที่แล้ว +1

    This was beyond helpful! I’m looking to solve the collatz conjecture in python with while loops. Your a legend!

  • @erect1306
    @erect1306 4 ปีที่แล้ว +2

    Best python tutorial in TH-cam..♥️♥️♥️

  • @aaryanrajsinha3342
    @aaryanrajsinha3342 3 ปีที่แล้ว +5

    Finally I can Visualise the loops that how they work. Thanks a lot sir. Without your help I can't learn coding as i didn't visualise the code. I love it sir ❤️

    • @saishankar5005
      @saishankar5005 2 ปีที่แล้ว

      What0is the meaning of console

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

    Such a great teacher..... U rock sir....Keep it up!!! ....After this, I got a clear concept about while loop...Thanku so much

  • @marya4798
    @marya4798 3 ปีที่แล้ว

    Omg this makes PERFECT sense and I finally understand it. Thank you!

  • @mustakimkhan469
    @mustakimkhan469 3 ปีที่แล้ว +33

    Solution Q1) Print the numbers from 1-100 skipping the numbers divisible by 3 & 5
    a=1
    while a

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

      it is considering or operaator format bro, wrong code

    • @tamilselvan_g0448
      @tamilselvan_g0448 ปีที่แล้ว

      @@srinathasri7204 u will write here the code

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

      why didn't you use "or" ?

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

      the code is correct
      ! = not
      the code is saying if a%3 and a%5 is NOT equal to 0
      print(a)
      if you dont have to use and ! you can use or in the following way
      i = 1
      while i

    • @farahbaliki4680
      @farahbaliki4680 ปีที่แล้ว

      @@playshub5398 I agree but I just don't get why would he use (if a%3 and a%5) shouldn't we use or to include every number divisible by 3 or 5

  • @damansharma6737
    @damansharma6737 5 ปีที่แล้ว +20

    best teacher on youtube..i will surely suggest this playlist to everyone.

  • @vijeysrini
    @vijeysrini 3 ปีที่แล้ว

    Your attitude, Man, out of the world, every time i finish one chapter, gives a great feeling that I have learnt something nice from you today.

  • @adnanbinalam2539
    @adnanbinalam2539 3 ปีที่แล้ว +2

    this Indian guy make me in another world I have been searched this while loop but I don't get any clear explanation but when I see his tutorial then I just see one time and I remember everything
    LOTS OF LOVE FROM BANGLADESH. Go ahead, sir!!!!!!!!

  • @piyushpratap3959
    @piyushpratap3959 4 ปีที่แล้ว +30

    Print('Tekusko
    '*1000)
    Best way

  • @prakash1171
    @prakash1171 4 ปีที่แล้ว +9

    Woowww Seriously I want to learn like that who can solve and things with debugging.

  • @NikhilKumar-ue6pr
    @NikhilKumar-ue6pr 3 ปีที่แล้ว +1

    python master really cant find sir like this on youtube no chance!!best

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

    you are the best teacher i have seen in my life.

  • @zeeshanshahidansari9425
    @zeeshanshahidansari9425 3 ปีที่แล้ว +3

    Hello Sir! Your efforts and energy level are superb. Thanks for helping us. Really appreciable. God Bless You Sir :-)

  • @nikeshprasad5559
    @nikeshprasad5559 6 ปีที่แล้ว +4

    Sir your playlist on Core Java is great where everything is organised very well. Hope you will do the same for python!

  • @saniahmed100
    @saniahmed100 2 ปีที่แล้ว

    This is the super simple method of explanation of while loop...Great work Guru-G.

  • @shamminamina
    @shamminamina 3 ปีที่แล้ว

    you are an amazing teacher. Thanks a lot for sharing your knowledge. God bless you

  • @janamshah190
    @janamshah190 3 ปีที่แล้ว +11

    for x in range(1,101):
    If x%3!=0 and x%5!=0:
    print(x)

    • @evo-star7850
      @evo-star7850 2 ปีที่แล้ว

      But it have to be in while loop, he haven't taught for loop till now

    • @harieluru7612
      @harieluru7612 2 ปีที่แล้ว +6

      @@evo-star7850 a=1
      while a

    • @Tsr2412
      @Tsr2412 2 ปีที่แล้ว

      is it "for loop" ? But it has not been taught yet ! may be in next video

  • @iCaptainOG
    @iCaptainOG 5 ปีที่แล้ว +5

    So glad I subscribed! You explained it so well! I now understand it better! Thanks man💪🏾

  • @user-gu6pu6ck6j
    @user-gu6pu6ck6j 10 หลายเดือนก่อน

    Wow, watching this was such a blessing! Thank you for sharing your knowledge and scripting wisdom! Pardon

  • @SanataniVeera
    @SanataniVeera 3 ปีที่แล้ว

    mind-blowing stuff .....learning python made so easy...Thanks Navin!

  • @vijayaragavanselvaraj8087
    @vijayaragavanselvaraj8087 3 ปีที่แล้ว +23

    Code for # pattern:
    r=int(input("Enter the number of Row(s): "))
    c=int(input("Enter the number of Column(s): "))
    i=1
    while i

    • @playshub5398
      @playshub5398 ปีที่แล้ว +2

      we can make it for any symbol:
      r = int(input("Enter the No of rows: "))
      c = int(input("Enter the No of Columns: "))
      s = input("Enter the Symbol for the pattern: ")
      i=1
      while i

    • @saikumar96
      @saikumar96 6 หลายเดือนก่อน

      You can use this for the spaces
      r = int(input("Enter the number of Row(s): "))
      c = int(input("Enter the number of Column(s): "))
      s = input("Enter the Symbol for the pattern: ")
      i = 1
      while i

  • @onlysparsh
    @onlysparsh 5 ปีที่แล้ว +8

    sir love u,, ur excitement in coding makes me excited too

  • @kszoknyik
    @kszoknyik ปีที่แล้ว

    really appreciate this video, i'm doing a python course and you just made it easier! thank you!

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

    very nice explanation and due to u i can now learn the language PYTHON SO fast as i had not thougth .

  • @miiMarit207
    @miiMarit207 8 หลายเดือนก่อน +8

    That was one of the best programming explanations. I wish everyone did tutorials like this.

  • @aminder7487
    @aminder7487 ปีที่แล้ว +3

    The most amazing teacher!

  • @aminchivilkar4911
    @aminchivilkar4911 3 ปีที่แล้ว

    the way you break down the loops is just awesome

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

    sir firstly the debugging concept is very defficult for me ....but now it's very easy becoz of u....so thank u so much sir for this....really u r too good.

  • @aarushdeshta7979
    @aarushdeshta7979 3 ปีที่แล้ว +6

    Q.2.
    i = 1
    while i

  • @creater4u649
    @creater4u649 5 ปีที่แล้ว +16

    Prog:1-
    i=1
    while i

    • @dabloosinghindia3257
      @dabloosinghindia3257 5 ปีที่แล้ว

      prog:2 syntaxError: invalid character in identifier

    • @losttraveller_tales
      @losttraveller_tales 5 ปีที่แล้ว

      Try this, i got output using your code too
      i=1
      while i

    • @SoumyadipDey1996
      @SoumyadipDey1996 5 ปีที่แล้ว

      @@losttraveller_tales i=1
      j=1
      while i

  • @khavyanjanas6474
    @khavyanjanas6474 3 ปีที่แล้ว

    u are my favorite teacher sir ..
    now computer has become my favorite subject because of u ..thanks a lot sir

  • @a.m.an-nafeeal-affao8710
    @a.m.an-nafeeal-affao8710 3 หลายเดือนก่อน +1

    "It's not difficult, it's just unfamiliar". Totally fallen in love with this quote, bro!! You truly are the best!! Thank you so much!! Love from Bangladesh!!

  • @khajakhaja3
    @khajakhaja3 3 ปีที่แล้ว +14

    1) Write Tables from 1 to 20
    i=1
    while i

  • @adeelab6141
    @adeelab6141 5 ปีที่แล้ว +12

    If/Elif/Else statement...
    x = 1
    while x

    • @AnkushKumar-qc1ny
      @AnkushKumar-qc1ny 3 ปีที่แล้ว

      thanks for help brother

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

      By any chance without using if else loop can we solve this

    • @matthewmorrison2071
      @matthewmorrison2071 3 ปีที่แล้ว +3

      Nice job but you could simplify this down to:
      i = 1
      while(i

    • @NabhPal17
      @NabhPal17 7 หลายเดือนก่อน

      Dear@@mohammedsaad364 ,
      Finally found such a comment.
      I have a similar doubt ; can the code (for displaying numbers from 1 to 100 skipping numbers divisible by 3 and 5) be programmed with using 'nested while' loop only..?
      But out of all the comments neither have I found help by Naveen Sir (Telusko's creator) nor a program that uses nested loop without the help of 'if', 'for', etc.
      just because of this मैं समझा भी नहीं और पापा (जो मदद दे रहे थे, जो मैंने इंकारकर दिया) से डाँट भी मिल गया।
      aaee dond no vai aaee dond unddarstaennd thayht aaee aym suppojzd tu kurrakcyt maaee mistaykhs, vvvaaaaiiii ddduuuu aaaeee ssstoppp maaaaeee ssseeeyyylllpppphhhh pppphhhhrruuuumm lllluuuurrrrrnnniiiinnnngggggghh...!!???
      😣😫😒😩😔😖😞😪

  • @pheonix9929
    @pheonix9929 2 ปีที่แล้ว

    I never able to understand this before but you just made me understand in 10 mins only. Thanks so much sir.

  • @vanshit14
    @vanshit14 3 ปีที่แล้ว

    Thank u very much sir, now my concept of while loop is clear by watching this video🙏

  • @veneranurdin8410
    @veneranurdin8410 6 ปีที่แล้ว +60

    Answer to 2nd task:
    a=1
    while a

  • @songnetwork2215
    @songnetwork2215 4 ปีที่แล้ว +4

    Hey you're familiar with this language but then also you're doing mistakes so we can understand this concept clearly
    THANKYOU SOOOOO MUCH👍💕👍💕

  • @tiyanibaloyi8404
    @tiyanibaloyi8404 3 ปีที่แล้ว

    Thanks you very much for this video ,you really helped me and now I understand while loops better, its is very much appreciated.

  • @sailakshmisailajajavvadi2396
    @sailakshmisailajajavvadi2396 ปีที่แล้ว

    The way you teach is speechless........ Never before ever after classes.. Superb ❤thanks a lot sir😊

  • @Entertainmentandexplore
    @Entertainmentandexplore 5 ปีที่แล้ว +3

    I had doubt first but after watching the video it's now familiar to me.Thanks Navin sir.

  • @jmanisha3896
    @jmanisha3896 5 ปีที่แล้ว +4

    Thanks a lot sir.. It really helped me alot...

  • @alpha-zed6698
    @alpha-zed6698 2 ปีที่แล้ว +1

    thanks! i just started learning python 2 days ago with the help of my cousin who knows python. He hasn't taught me loops yet... This video really helped.😁

  • @laksh._.official
    @laksh._.official 3 ปีที่แล้ว

    The thing you said at the end really motivated me!

  • @vanditsuryavanshi
    @vanditsuryavanshi 3 ปีที่แล้ว +7

    This is not difficult.......
    This is just unfamiliar......🔥👍
    Today's Motivation.

  • @sampaksasa3756
    @sampaksasa3756 5 ปีที่แล้ว +41

    0:55 but why you want to print telusko 1000 times thats called an alien thing. XD
    just kidding sir you are the best teacher i have ever got on youtube : )

  • @Imran20091990
    @Imran20091990 2 ปีที่แล้ว

    Awesome.. This inner for/while loop understood last week only while exporting Array list of values in to Excel workbook by debugging.. You nailed it.. 😘😘😘😘

  • @aliramezani8822
    @aliramezani8822 3 ปีที่แล้ว

    I like the way you say "bye" at the end of each tutorial.

  • @ankitshukla5800
    @ankitshukla5800 5 ปีที่แล้ว +4

    Sir upload more programming videos with logic building concepts please
    Thank you

  • @mdmahabuburrashidkhan7561
    @mdmahabuburrashidkhan7561 4 ปีที่แล้ว +6

    The best ever while loop tutorial (y)

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

      Yeah dude, I had so much difficulty to learn the while loop, and I just watching this video... This is literally the best programming tutorial I've ever seen in my life!

  • @aparnakorade7291
    @aparnakorade7291 2 ปีที่แล้ว

    Sir u r god for me ,the way u explain, no one can explain like u in world ,,,thank you sir

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

    Thanks, I was super confused in my google Coursera course and this really helped.

  • @itsvinayyay
    @itsvinayyay 3 ปีที่แล้ว +8

    On the first sight I found it difficult, but after practicing some more examples, What I found is that its not difficult Its just unfamiliar.
    But at last THANK YOU sir for all your efforts...

  • @eme_offl18
    @eme_offl18 9 หลายเดือนก่อน +9

    Only me who is here after 5 years😌?

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

      im

  • @manojtomer4152
    @manojtomer4152 3 ปีที่แล้ว

    Brother, you have a great blend of south Indian English and Spanish.
    Best Explanation of the world 🙏🙏

  • @rajat2537
    @rajat2537 ปีที่แล้ว

    Great method of teaching, At first I thought "how can a person learn coding from youtube". But now after watching your video @NaveenReddy sir its very easy and interesting to learn python. Even after going to physical classes I feel that your videos are enough to learn python

  • @s.jothikaivb3906
    @s.jothikaivb3906 4 ปีที่แล้ว +5

    hi!! actually i had subscribed udemy website for learning python. i had lots and lots of doubts after seeing that videos . but after seeing your stuffs my doubts are cleared.. thanks for making these videos for us.. want to learn more from you.

  • @bhavikakapadia2462
    @bhavikakapadia2462 6 ปีที่แล้ว +3

    sir, I like clear explanation of while loop, but could you make more video about while loop with different examples

    • @Skaxarrat
      @Skaxarrat 5 ปีที่แล้ว

      There is barely nothing more about the topic, While loops are just like that. As he said at the end of the video, you just need practise

  • @neerajmanivarnan
    @neerajmanivarnan 3 ปีที่แล้ว

    wow you just made this easy for me...thank you very much..this channel requires more and more views

  • @barteshgurung4939
    @barteshgurung4939 3 ปีที่แล้ว

    now I got a very clear concept for while loop. thank you.

  • @ankurgupta288
    @ankurgupta288 3 ปีที่แล้ว +5

    1
    for i in range(1,101):
    if(i%3!=0) and (i%5!=0):
    print(i)
    2
    for i in range(4):
    print("#####")

    • @baigantv7372
      @baigantv7372 3 ปีที่แล้ว

      bro u have to do by using while loop not FOR LOOP.

    • @hemanthsai8771
      @hemanthsai8771 3 ปีที่แล้ว

      @@baigantv7372 I got that
      2nd question answer :
      n = 1
      while n

    • @baigantv7372
      @baigantv7372 3 ปีที่แล้ว

      @@hemanthsai8771 mashah allah Congrats bro well done , you have to practice with several questions same loop, just by doing one dont skip, in google search while loop question etc.

    • @Siddharth153
      @Siddharth153 3 ปีที่แล้ว

      invalid syntax

  • @dipanshparmar3769
    @dipanshparmar3769 4 ปีที่แล้ว +17

    Solution for 1st problem:
    for i in range(1,101):
    If i % 3 == 0 or i % 5 == 0:
    continue
    else:
    print(i)

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

      we havent learned range yet..

    • @deepakkumarbehera7493
      @deepakkumarbehera7493 4 ปีที่แล้ว +2

      Where is this program in this video

    • @Udayfah
      @Udayfah 4 ปีที่แล้ว

      I tried the using the continue function but when I printed it, the program stopped at 2

    • @DauDoful
      @DauDoful 4 ปีที่แล้ว +16

      we are studying for While, i think we should try use for while first. Here is my solution and i saw it worked:
      i=1
      while i

    • @adityamore6012
      @adityamore6012 4 ปีที่แล้ว +2

      @@DauDoful can you explain logic behind i am unable to understand
      if i%3==0 or i%5 ==0:
      print(end=" ")

  • @Karthik-kt24
    @Karthik-kt24 3 ปีที่แล้ว

    This is beautiful! Thank you very nice explaination 🙏🙏