Тёмный

#20 Python Tutorial for Beginners | While Loop in Python 

Telusko
Подписаться 2,3 млн
Просмотров 1,6 млн
50% 1

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

Наука

Опубликовано:

 

10 июл 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2,1 тыс.   
@Prashant-gj8hl
@Prashant-gj8hl 5 месяцев назад
Any one here in 2024..??
@NicaKasende
@NicaKasende 3 месяца назад
Uni got me here 😢
@sncreation.mahi.1728
@sncreation.mahi.1728 2 месяца назад
Yes
@ugochukwuonwuchekwa1077
@ugochukwuonwuchekwa1077 2 месяца назад
Definitely bro.
@AM-Boluke1210
@AM-Boluke1210 2 месяца назад
April 1 2024 😅
@Habonzgold
@Habonzgold 2 месяца назад
@@AM-Boluke1210you’re not alone brother , let go get it ✊🤞
@JoeyFlowers
@JoeyFlowers 5 лет назад
"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 лет назад
seriously dude ..i just love that quote and no doubt he is the best teacher to learn programming from.
@anusmitasamanta2608
@anusmitasamanta2608 4 года назад
@@damansharma6737 you are right
@gatroeboy
@gatroeboy 4 года назад
Joey flowers do you have entrepeneur in your bio by any chance?
@sanjaykumar-wh9ej
@sanjaykumar-wh9ej 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 كلاوات
@mahadevprasadpal7829
@mahadevprasadpal7829 2 года назад
So no-one is here after 3 years 😂 except me and still this video is a great solution 😀👍👍
@HarmeetSingh-bk1lp
@HarmeetSingh-bk1lp 2 года назад
I'm here🤣🤣
@arkaghoshdastider6659
@arkaghoshdastider6659 2 года назад
Am also here
@Mr9221711291
@Mr9221711291 2 года назад
You are not alone here 😀
@prezronald3715
@prezronald3715 2 года назад
I’m here😂
@wirahprince1279
@wirahprince1279 2 года назад
I'm
@AdityaPandey-ow2yu
@AdityaPandey-ow2yu 3 года назад
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 RU-vidr
@flossdojo5151
@flossdojo5151 3 года назад
@@duniya_ka_papa32 I am watching Corey shafer Or something like that
@Chinarkashmirmusic
@Chinarkashmirmusic 4 года назад
The moment you said its not hard its unfamiliar . it boosted me to the sky . Thank you ❤
@tutohowto5345
@tutohowto5345 4 года назад
👌👌👌 "it's not difficult, it's just unfamiliar"
@gautamgoyal2606
@gautamgoyal2606 3 года назад
yaa
@nhnsaru
@nhnsaru 2 года назад
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
@HayKay_
@HayKay_ 2 года назад
"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. 😊
@ashwingunasekaran7272
@ashwingunasekaran7272 5 лет назад
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?
@MK-yl7jl
@MK-yl7jl 5 лет назад
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 года назад
if i use debug its debuging venv how to resolve it ?
@arathip3699
@arathip3699 2 года назад
Me too
@JEnriquez
@JEnriquez 2 года назад
Anyone know how to use debugging function in the same way that he does on VSCode ?
@rameshbcom7646
@rameshbcom7646 3 года назад
I love this channel... Edureka and Telusko are 2 channels doing more for the students than the education system itself! Keep growing Sir
@maresaedwards8471
@maresaedwards8471 3 года назад
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!
@fathimaarafa2585
@fathimaarafa2585 5 лет назад
to be honest, you are really a great teacher and a wonderful programmer
@abhi36292
@abhi36292 5 лет назад
downloaded many python courses from different sites , couldn't grasp them very well,this helped thanks sir subscribed :)
@harshit3985
@harshit3985 2 года назад
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
@nalinabk4764
@nalinabk4764 3 года назад
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.
@piyushpratap3959
@piyushpratap3959 4 года назад
Print('Tekusko '*1000) Best way
@venkatakumaresan2711
@venkatakumaresan2711 5 лет назад
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!!
@stressfree_art
@stressfree_art 4 года назад
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 RU-vid
@ananyamukherjee7601
@ananyamukherjee7601 Год назад
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🥰
@saranyakandaswaminataraj3980
@saranyakandaswaminataraj3980 5 лет назад
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 года назад
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 года назад
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
@sharukhmemon9841
@sharukhmemon9841 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.
@prashantsaraswat1130
@prashantsaraswat1130 3 года назад
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 !
@sankitkundu1654
@sankitkundu1654 3 года назад
i=1 while i
@DaddyCreations
@DaddyCreations 3 года назад
bro what does this(!) symbol mean ?
@amberkumar323
@amberkumar323 3 года назад
Its not !..its != Which means not equal to
@KrishKumar-wr9jc
@KrishKumar-wr9jc 3 года назад
Bro You should use or
@abdulfareed2585
@abdulfareed2585 3 года назад
@@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 года назад
@@abdulfareed2585 The problem says all values up to 100 i = 1 while i
@bhuvanspahuja2008
@bhuvanspahuja2008 4 года назад
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
@priyanshkumariitd
@priyanshkumariitd Год назад
Thanks for the first !!
@melwinlal8803
@melwinlal8803 Год назад
a=1 while a
@kimsah2112
@kimsah2112 Год назад
​@@melwinlal8803 This never works
@selvikumaresan1372
@selvikumaresan1372 Год назад
i=1 while i
@melwinlal8803
@melwinlal8803 Год назад
@@kimsah2112 it will try it bro
@shaikatmajumder3156
@shaikatmajumder3156 5 лет назад
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.
@pratap_divyansh8453
@pratap_divyansh8453 3 года назад
I really enjoyed his way of teaching and the way he explains the concept is just amazing 👍👍👍👍
@adarshpatodi5300
@adarshpatodi5300 3 года назад
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.
@nagarajmpn
@nagarajmpn 4 года назад
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 года назад
Code for question 2: a = 1 while a
@tirthpatel7388
@tirthpatel7388 4 года назад
@Joseph Margay What Is The Use Of 5*
@sayanibagchi4234
@sayanibagchi4234 4 года назад
@@tirthpatel7388 *5 is used to print '#' 5 times on the same line
@gopikrish5997
@gopikrish5997 4 года назад
@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 года назад
@@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
@alejrandom6592
@alejrandom6592 2 года назад
I love your series, you get into details that other teachers take for granted
@a.m.an-nafeeal-affao8710
@a.m.an-nafeeal-affao8710 3 месяца назад
"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!!
@Mothishbk
@Mothishbk 5 лет назад
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
@shivangshukla5200
@shivangshukla5200 3 года назад
This much examples really helped my thinking. Perfect video for while loop🔥
@adnanbinalam2539
@adnanbinalam2539 3 года назад
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!!!!!!!!
@JyotiSingh-sz7ox
@JyotiSingh-sz7ox 4 года назад
Best Teacher ever. I am from non programming background but the way you explain is awesome!
@erect1306
@erect1306 4 года назад
Best python tutorial in RU-vid..♥️♥️♥️
@nikeshprasad5559
@nikeshprasad5559 6 лет назад
Sir your playlist on Core Java is great where everything is organised very well. Hope you will do the same for python!
@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.
@t-perm9627
@t-perm9627 2 года назад
This was beyond helpful! I’m looking to solve the collatz conjecture in python with while loops. Your a legend!
@mustakimkhan469
@mustakimkhan469 3 года назад
Solution Q1) Print the numbers from 1-100 skipping the numbers divisible by 3 & 5 a=1 while a
@srinathasri7204
@srinathasri7204 Год назад
it is considering or operaator format bro, wrong code
@tamilselvan_g0448
@tamilselvan_g0448 Год назад
@@srinathasri7204 u will write here the code
@farahbaliki4680
@farahbaliki4680 Год назад
why didn't you use "or" ?
@playshub5398
@playshub5398 Год назад
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
@janamshah190
@janamshah190 3 года назад
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 года назад
@@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
@nickkvideos
@nickkvideos 2 года назад
What does the print statement at the end after “i=i+1” do?
@teluskosupport
@teluskosupport Год назад
i=i+1 will increase the value of i by 1, each time value of i will increase when the loop iterates.
@sankellapavan5361
@sankellapavan5361 3 года назад
you are the best teacher i have seen in my life.
@aaryanrajsinha3342
@aaryanrajsinha3342 3 года назад
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
@prakash1171
@prakash1171 4 года назад
Woowww Seriously I want to learn like that who can solve and things with debugging.
@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.
@NikhilKumar-ue6pr
@NikhilKumar-ue6pr 3 года назад
python master really cant find sir like this on youtube no chance!!best
@damansharma6737
@damansharma6737 5 лет назад
best teacher on youtube..i will surely suggest this playlist to everyone.
@zeeshanshahidansari9425
@zeeshanshahidansari9425 3 года назад
Hello Sir! Your efforts and energy level are superb. Thanks for helping us. Really appreciable. God Bless You Sir :-)
@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.
@marya4798
@marya4798 3 года назад
Omg this makes PERFECT sense and I finally understand it. Thank you!
@onlysparsh
@onlysparsh 5 лет назад
sir love u,, ur excitement in coding makes me excited too
@iCaptainOG
@iCaptainOG 4 года назад
So glad I subscribed! You explained it so well! I now understand it better! Thanks man💪🏾
@shivkumarhiremath185
@shivkumarhiremath185 4 года назад
coming from mechanical background .....having zero knowledge of programming ....Navin sir has made it so very much easy for me...U were my teacher in 12th std i would have taken Computer engg....It was fear of programming that didnt allow me take C.S. Engg. But Navin Sir amazingly changed the way i look at programming now.Hats Off to u Sir
@gorvekumar1718
@gorvekumar1718 3 года назад
Such a great teacher..... U rock sir....Keep it up!!! ....After this, I got a clear concept about while loop...Thanku so much
@khajakhaja3
@khajakhaja3 3 года назад
1) Write Tables from 1 to 20 i=1 while i
@invincibleHunter
@invincibleHunter 2 года назад
Thank u, but the i should less or equal to 2
@sandhyarajput1642
@sandhyarajput1642 2 года назад
The value get complete square
@prasanthkumar4159
@prasanthkumar4159 2 года назад
Hello bro ur num pls
@user-wx5tq3oj8x
@user-wx5tq3oj8x 8 месяцев назад
Thanks❤
@aarushdeshta7979
@aarushdeshta7979 3 года назад
Q.2. i = 1 while i
@kawithmakarunananda3738
@kawithmakarunananda3738 Год назад
Thank you thank youuuuuuuu
@aminchivilkar4911
@aminchivilkar4911 3 года назад
the way you break down the loops is just awesome
@duddumanasa8855
@duddumanasa8855 3 года назад
2nd code solution n=int(input('enter')) i=0 while(i
@miiMarit207
@miiMarit207 8 месяцев назад
That was one of the best programming explanations. I wish everyone did tutorials like this.
@songnetwork2215
@songnetwork2215 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👍💕👍💕
@alpha-zed6698
@alpha-zed6698 2 года назад
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.😁
@saniahmed100
@saniahmed100 2 года назад
This is the super simple method of explanation of while loop...Great work Guru-G.
@adeelab6141
@adeelab6141 5 лет назад
If/Elif/Else statement... x = 1 while x
@AnkushKumar-qc1ny
@AnkushKumar-qc1ny 3 года назад
thanks for help brother
@mohammedsaad364
@mohammedsaad364 3 года назад
By any chance without using if else loop can we solve this
@matthewmorrison2071
@matthewmorrison2071 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...!!??? 😣😫😒😩😔😖😞😪
@vanditsuryavanshi
@vanditsuryavanshi 3 года назад
This is not difficult....... This is just unfamiliar......🔥👍 Today's Motivation.
@shamminamina
@shamminamina 3 года назад
you are an amazing teacher. Thanks a lot for sharing your knowledge. God bless you
@laksh._.official
@laksh._.official 3 года назад
The thing you said at the end really motivated me!
@aminder7487
@aminder7487 Год назад
The most amazing teacher!
@veneranurdin8410
@veneranurdin8410 6 лет назад
Answer to 2nd task: a=1 while a
@damansharma6737
@damansharma6737 5 лет назад
lol
@avert_
@avert_ 4 года назад
nice!
@dhruvdeora9781
@dhruvdeora9781 4 года назад
Cheated😂😂😂
@yourname5519
@yourname5519 4 года назад
Lol
@kaptchandrapriya4556
@kaptchandrapriya4556 4 года назад
X=‘#####’ For i in x: Print(x)
@swaritsharma941
@swaritsharma941 2 года назад
very nice explanation and due to u i can now learn the language PYTHON SO fast as i had not thougth .
@aliramezani8822
@aliramezani8822 3 года назад
I like the way you say "bye" at the end of each tutorial.
@vijayaragavanselvaraj8087
@vijayaragavanselvaraj8087 3 года назад
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 Год назад
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
@sampaksasa3756
@sampaksasa3756 5 лет назад
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 : )
@anukumari2344
@anukumari2344 3 года назад
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.
@SanataniVeera
@SanataniVeera 3 года назад
mind-blowing stuff .....learning python made so easy...Thanks Navin!
@ankitshukla5800
@ankitshukla5800 5 лет назад
Sir upload more programming videos with logic building concepts please Thank you
@jmanisha3896
@jmanisha3896 5 лет назад
Thanks a lot sir.. It really helped me alot...
@ahmedeid4508
@ahmedeid4508 4 года назад
I need to call you:
@kszoknyik
@kszoknyik Год назад
really appreciate this video, i'm doing a python course and you just made it easier! thank you!
@khavyanjanas6474
@khavyanjanas6474 3 года назад
u are my favorite teacher sir .. now computer has become my favorite subject because of u ..thanks a lot sir
@creater4u649
@creater4u649 5 лет назад
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
@eme_offl18
@eme_offl18 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 🙏🙏
@bethanymccarter9262
@bethanymccarter9262 3 года назад
Thanks, I was super confused in my google Coursera course and this really helped.
@bhavikakapadia2462
@bhavikakapadia2462 6 лет назад
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
@Entertainmentandexplore
@Entertainmentandexplore 5 лет назад
I had doubt first but after watching the video it's now familiar to me.Thanks Navin sir.
@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.
@abdulmateen7486
@abdulmateen7486 4 месяца назад
This is not difficult, it is unfamiliar.. Mind blowing quote. Hats off to your sir. This quote and your teaching has altered by approach to learn. Great..
@itsvinayyay
@itsvinayyay 3 года назад
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...
@s.jothikaivb3906
@s.jothikaivb3906 4 года назад
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.
@barteshgurung4939
@barteshgurung4939 3 года назад
now I got a very clear concept for while loop. thank you.
@sailakshmisailajajavvadi2396
The way you teach is speechless........ Never before ever after classes.. Superb ❤thanks a lot sir😊
@mdmahabuburrashidkhan7561
@mdmahabuburrashidkhan7561 4 года назад
The best ever while loop tutorial (y)
@donaldbreece7209
@donaldbreece7209 4 года назад
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!
@VinayKumar-hj2qi
@VinayKumar-hj2qi 6 лет назад
i = 0 while i
@bishwajit667
@bishwajit667 5 лет назад
initialize i from 1
@ItIsLittleBoy
@ItIsLittleBoy 5 лет назад
Wrong
@ItIsLittleBoy
@ItIsLittleBoy 5 лет назад
i=1 while i
@vanshit14
@vanshit14 3 года назад
Thank u very much sir, now my concept of while loop is clear by watching this video🙏
@pheonix9929
@pheonix9929 2 года назад
I never able to understand this before but you just made me understand in 10 mins only. Thanks so much sir.
@dipanshparmar3769
@dipanshparmar3769 4 года назад
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 года назад
we havent learned range yet..
@deepakkumarbehera7493
@deepakkumarbehera7493 4 года назад
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 года назад
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 года назад
@@DauDoful can you explain logic behind i am unable to understand if i%3==0 or i%5 ==0: print(end=" ")
@ankurgupta288
@ankurgupta288 3 года назад
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
@aparnakorade7291
@aparnakorade7291 2 года назад
Sir u r god for me ,the way u explain, no one can explain like u in world ,,,thank you sir
Далее
The Basics of while Loop in Python
8:17
Просмотров 31 тыс.
Solve any Star Pattern program in Python
18:44
Просмотров 847 тыс.
While loops in Python are easy ♾️
6:58
Просмотров 310 тыс.
👩‍💻 Python for Beginners Tutorial
1:03:21
Просмотров 3 млн
For Loops in Python
10:15
Просмотров 787 тыс.
ПЕРЕХОЖУ НА НОВЫЙ ТЕЛЕФОН!
10:34
POPVIBE V5000 setup ASMR
0:26
Просмотров 701 тыс.
Ноутбук без экрана
0:22
Просмотров 16 тыс.