While Loop in Python | Python Tutorials for Beginners

  Рет қаралды 71,468

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

In this lecture we will learn:
- while loop in Python
- Need of while loop
- for loop vs while loop in python
- while with else
Best Python Tutorials for Beginners: • Python - Basic to Advance
*********************************************
Connect & Contact Me:
My Second Channel Link: bit.ly/354n7C7
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/profile/Jayanti...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*******************************************
More Playlists:
Programming in C Tutorials: • Programming in C
C++ Tutorials for beginners: • Lec 1: How to Install ...
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Dynamic Programming: • Dynamic Programming
Operating Systems tutorials: // • Operating Systems
DBMS Tutorials: • DBMS (Database Managem...
#coding #pythonforbeginners #python #jennyslectures #pythonprogramming #loops

Пікірлер: 104
@-SakuraNoHana-
@-SakuraNoHana- Жыл бұрын
(12:16) In else block Out from loop
@manojkokane3365
@manojkokane3365 10 ай бұрын
best and well explained tutorial of while loop, thanks a lot and plz keep making tutorials
@parttimegamer.6246
@parttimegamer.6246 Жыл бұрын
How can someone concentrate on study when the teacher is that cute❤😅
@asfandyarkhan1863
@asfandyarkhan1863 Жыл бұрын
Haha agreed 🥰
@munamarziya2546
@munamarziya2546 Жыл бұрын
Bro..i find her so cute as a girl 😂 then how about boys 🐸
@__TusharSharma
@__TusharSharma 10 ай бұрын
pdhle bhai....🤦‍♂️
@user-qy4no2rp8i
@user-qy4no2rp8i 9 ай бұрын
Ha ha ha ha ha don't say that, that's creepy 😂😂
@sakshamnegi13
@sakshamnegi13 8 ай бұрын
Her voice is dangerous 😂
@5022-saraswathiVanga
@5022-saraswathiVanga 11 ай бұрын
Excellent teaching with pause expressions ❤really feeling like watching live classes...tq mam.
@maminadia6966
@maminadia6966 Күн бұрын
You are amazing. So glad I found you
@BadBoy-ip1gk
@BadBoy-ip1gk Жыл бұрын
12:18 Ans: in else block out from loop
@AkhilAkhil-qo4bj
@AkhilAkhil-qo4bj Жыл бұрын
mam,plzz do classes regularly we are eagerly waiting for python classes.......
@DivyaJyothi213
@DivyaJyothi213 7 ай бұрын
I m from eee background....and want to learn python language...this tutorial helping me to learn the language easily...thank u mam.
@user-sw5xl9ui9q
@user-sw5xl9ui9q Жыл бұрын
total=0 num=int(input("Enter the num(enter minus number to exit):")) while num != 0: total =total+num print(total) num=int(input("Enter the num(enter minus number to exit):")) if num
@rahathasan6271
@rahathasan6271 Жыл бұрын
Please complete the python course maam, No one on you tube is teaching like you !! We are totally dependent on your videos so try to complete it ma'am !!
@sakibck1625
@sakibck1625 9 ай бұрын
just wanna say thank you for the help . love from bangladesh
@START_TODAY96
@START_TODAY96 Жыл бұрын
Thank you madam you videos are very helpful to me thanks a lot 🙏🙏🙏🙏
@manfredmasiko4444
@manfredmasiko4444 Жыл бұрын
Always superb!! 😀😀🙏
@sanjaypalanisamy3320
@sanjaypalanisamy3320 Жыл бұрын
I luv your teaching
@OneBit01
@OneBit01 Жыл бұрын
Great 👍
@avulashivaprasad4532
@avulashivaprasad4532 9 ай бұрын
Thanks ma'am, I have question for you. When we are mentioning count = 0, here we are getting know right, how many times we are executing this value by count . So, then using while loop will be false right. Can you please clarify ?
@Marvelkashmir
@Marvelkashmir Жыл бұрын
Hello great session
@chamara854
@chamara854 Жыл бұрын
Your teaching are imazine and you to ..love you
@glps369
@glps369 Жыл бұрын
Thank You So Much
@rongalamanindra5279
@rongalamanindra5279 Жыл бұрын
Thank you mam please continue python course
@UMESHKUMAR-yv1jt
@UMESHKUMAR-yv1jt Жыл бұрын
12:20 then else part simply executed
@mr_affan15
@mr_affan15 Жыл бұрын
Mam plzz give us idea how many videos left to complete series bcoz my 4th sem end in 1.5 month & python is in my college syllabus
@edutechz
@edutechz Жыл бұрын
Basically phyton..... I don't liked it i avoid but because of u only mam u changed my opinion on phyton completely mam 🎉🎉❤of u
@paavaneep6645
@paavaneep6645 Жыл бұрын
Mam please continue 🙏🙏🙏 C++ also...this is my humble request mam❤❤❤😢😢😢
@user-ub5ft2nw7s
@user-ub5ft2nw7s Жыл бұрын
Nice teaching mam ❤❤❤❤❤❤❤❤❤❤
@dondinesh891
@dondinesh891 Жыл бұрын
The assignment answer is in else block Out from loop
@parasjindal7521
@parasjindal7521 Жыл бұрын
Can u tell how long this course will take to finish??
@TonyStark-wd1hb
@TonyStark-wd1hb Жыл бұрын
How many videos are there for python full course? I thought it would be end but the videos are keep coming. Please tell me how syllabus is there more for python full course.
@ragulc.t9266
@ragulc.t9266 18 күн бұрын
@rongalamanindra5279
@rongalamanindra5279 Жыл бұрын
Please Post class regularly mam
@vyankateshmundaware7963
@vyankateshmundaware7963 Жыл бұрын
Hello mam! I am blind student I faces lot of challenges while doing any program. But you explain it very well❤😊
@karthik3387
@karthik3387 Жыл бұрын
🙏🙏🙏🙏
@yeoshuabenzaken7736
@yeoshuabenzaken7736 6 ай бұрын
why do you put the total increment before number in the while loop?
@piridinaveen8427
@piridinaveen8427 Жыл бұрын
😊
@sagarfarande8624
@sagarfarande8624 10 ай бұрын
wich are the using application mam in your pc
@ak47killeryt48
@ak47killeryt48 Жыл бұрын
I came to listen the class but,i am watching only mam❤😅😂
@sanjaypalanisamy3320
@sanjaypalanisamy3320 Жыл бұрын
❤❤❤
@hasindiweraniyage7747
@hasindiweraniyage7747 Жыл бұрын
Could you please do some videos of C# if possible
@_VedioTray
@_VedioTray Жыл бұрын
Mam .. Else block would be executed bcz the condition is false....in the first example
@tapaskumardey650
@tapaskumardey650 Жыл бұрын
Miss please reply do you have any plan to continue c++ lectures? I now lost all my hope to learn c++ from your videos 😢
@vssandilya1000
@vssandilya1000 7 ай бұрын
Madam full stack dev from your end is the need of the hour. How to connect to multiple databases such as Oracle sql server 2023 mysql sqllite mongodb is our prior requirement . Kindly help us.
@user-it5ew3ov3g
@user-it5ew3ov3g 4 ай бұрын
Cute to hai python 😂
@vk.badshah2198
@vk.badshah2198 Жыл бұрын
Mam please can you take daily live classes on u tube❤❤❤
@piridinaveen8427
@piridinaveen8427 Жыл бұрын
Good papa
@indeanlover3365
@indeanlover3365 Жыл бұрын
Mam please start live class 🙏🙏🙏🙏
@shasanksiva4330
@shasanksiva4330 11 ай бұрын
Mam please start java series
@Yashmahajan169
@Yashmahajan169 9 ай бұрын
which software r u using to code ??
@paavaneep6645
@paavaneep6645 Жыл бұрын
1st comment ❤😊
@chiranjeevisaibhuvanagiri9975
@chiranjeevisaibhuvanagiri9975 Ай бұрын
22:35 5 also printed because we have print statement before encountered break statement Anyone explain pls
@saiushasriparasu8341
@saiushasriparasu8341 Жыл бұрын
num=int(input("enter number:")) sum=0 while num!=0: sum=sum+num num=int(input("enter number:")) else: print("you have entered 0 so") print("sum is ",sum) print("bye")
@aayankarana758
@aayankarana758 Жыл бұрын
Mam plz take a java class🙏🙏🙏
@kxjvlogs6504
@kxjvlogs6504 Ай бұрын
eyes 👀 .......💗
@manjunathacirasani3086
@manjunathacirasani3086 7 ай бұрын
1 in else block out from while loop
@DivyaKarike
@DivyaKarike 20 күн бұрын
I love love you mam ❤
@manfredmasiko4444
@manfredmasiko4444 Жыл бұрын
When the condition count < 1 i guess the loop terminates since the condition also is false!
@amitchaurasiya2059
@amitchaurasiya2059 Жыл бұрын
no output wiil come count = 1 while count < 1: print(count) count +=1
@manpreetsingh2156
@manpreetsingh2156 Жыл бұрын
in else block out form the loop
@sanaprathibha9489
@sanaprathibha9489 Жыл бұрын
Hi mam please do c++ clasess mam
@DivyaVani-ms2nr
@DivyaVani-ms2nr 9 ай бұрын
n = int(input('enter number(0 to quite')) while n!=0: total=0 total+=n n = int(input('enter number(0 to quite')) else: print("exit") print(total)
@webseriesworld3293
@webseriesworld3293 Жыл бұрын
Mam.. please Complete C++ course Humble request to you mam please
@subho01717
@subho01717 Жыл бұрын
You are awesome
@chhayasrivastav1861
@chhayasrivastav1861 7 сағат бұрын
Where to find the notes of this lecture
@ganggameryt4874
@ganggameryt4874 4 ай бұрын
n=int(input('enter the number')) sum=0 while n>0: sum+=n n=int(input('enter the number')) if n
@masti3320
@masti3320 Жыл бұрын
C loop define mam
@ajitsatpute690
@ajitsatpute690 11 ай бұрын
if count
@Furious_footballs
@Furious_footballs 5 ай бұрын
In else block Out from loop
@MounikaJana-on1ic
@MounikaJana-on1ic Ай бұрын
In else block Out from foop
@uvraju
@uvraju Жыл бұрын
I ❤ you
@ramanaumashankar475
@ramanaumashankar475 Жыл бұрын
in else block Out of else block
@user-oh8nm6iq7z
@user-oh8nm6iq7z 10 ай бұрын
you are cute and your teaching was good 😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘
@Hello-qs6dq
@Hello-qs6dq Жыл бұрын
DSA sikhne ke liye kon se math topics aane chahiye video
@user-ws8kv5zc4t
@user-ws8kv5zc4t 6 ай бұрын
num=int(input("Enter numbers (-1,0 =>Quit the loop):")) sum=0 while True: if num==0 or num ==-1: break sum = sum + num num = int(input("Enter numbers (-1,0 =>Quit the loop):")) else: print('else part') print(f"Sum of positive number {sum}")
@user-wb2is7zg4r
@user-wb2is7zg4r Жыл бұрын
Hello mam🎉🎉
@focusoncochingclasses617
@focusoncochingclasses617 9 ай бұрын
Beutiful mem
@anybodycancook6644
@anybodycancook6644 7 ай бұрын
number = int(input("enter a number : ")) count = 0 while number != 0 : count += number number = int(input("enter a number (if quit enter 0 ) : ")) print(f"total sum of number you entered is : {count}" )
@johnzubair5999
@johnzubair5999 11 ай бұрын
A/a Mam i have a question ie Number=("1","2","3","5","10") for i in Number: print (i) if i=="3": break else: print("u have done it") Output: 1 2 3 Names = ("ram", "sham", "jam", "tom") for name in Names: print(name) if name == "sham": break else: print("u have done it") ram sham jam tom you have done it Why these two programs showed me different solutions Ie first prog have not worked on else part becoz of break But why 2nd prog have included else part as well . Have a little bit light on it Plz Plz and plz acknowledge here
@fida818
@fida818 10 ай бұрын
@johnzubair5999 May be "else" line will be given in same vertical line of "if"
@johnzubair5999
@johnzubair5999 10 ай бұрын
Thnxx But i have recognized the error of my own It was a little space error Ie like (" Rom") I had left a space after initially double quotes On the bases of which i had an error. Thnxx ounce again for having your precious time over here.
@thethemeofvoyage2822
@thethemeofvoyage2822 Жыл бұрын
Meri Favourite Jenny mam .. I have one doubt?? Plz. Answer To Me Mam Why You couldn't Teach About Theory of computation?? Plz..Mam Its A One The Complex Subject I Literally Till Not Find A Better And Best Teacher To Teach This..Plz..Try To Upload Mam... Atleast some Important Topics plz..Mam.. Accept My Request..And Answer Me Mam plz. Mam
@muneebbolo
@muneebbolo 6 ай бұрын
Let’s focus on the while loop example/assignment discussed in the end of video 23:54: The while loop is like a repeating task that continues as long as a certain condition is true. In this case, the condition is number != 0, which means “as long as the number is not equal to 0”. Here’s what happens inside the loop: The program adds the number you entered to the total: total = total + number. This is like saying “increase the total by the number”. Then it asks you to enter another number: number = int(input('Enter a number(0 to quit): ')). This is the same as the first time it asked you to enter a number. Now, the program checks the while condition again. If the number you entered is not 0, it goes back to step 1. If the number is 0, it stops the loop. So, the while loop is a way for the program to keep asking for numbers and adding them to the total, until you enter 0 to stop it. It’s like a cycle: “ask for a number, add it to the total, ask for another number, add it to the total, and so on, until the number is 0”. I hope this helps clarify the role of the while loop in the code! 😊
@user-fo8fj7mn2u
@user-fo8fj7mn2u Жыл бұрын
Hi
@shivamkataria4680
@shivamkataria4680 7 ай бұрын
Kuch hi kaho mam cute toh hai ❤
@shubhamkulkarni1202
@shubhamkulkarni1202 4 ай бұрын
ba student hu bhai
@user-jl5tb3xy6u
@user-jl5tb3xy6u 9 ай бұрын
why madam you are using whileTrue cna u explain again
@anasajmal704
@anasajmal704 Жыл бұрын
ist
@PiyushGupta-yd9pz
@PiyushGupta-yd9pz Жыл бұрын
Maim please talk in hindi
@shahzaibali-bi2ne
@shahzaibali-bi2ne Ай бұрын
Kitni galtayi karni hu ma😂
@focusoncochingclasses617
@focusoncochingclasses617 9 ай бұрын
Muje english ni aati Pata ni kaha chali jati
@EzeaMichael
@EzeaMichael Ай бұрын
Jenny, everything about you is excellent. your method of teaching, your beauty and everything is charming. please, are you still single?
@srakib5591
@srakib5591 Жыл бұрын
when I see there is a female teacher ,then i click the video but what is she saying ,I cannot understand anything🙂🙂🙂🙂
@maxmoviezs
@maxmoviezs Жыл бұрын
Are you married or not ❤❤❤❤❤
@ParalaSandeep-xt9nu
@ParalaSandeep-xt9nu Жыл бұрын
Mam!!! Your insta ID
@1n_only_flexy
@1n_only_flexy 10 ай бұрын
Are padhele bhai😂
Python for Beginners - Learn Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 18 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,3 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 91 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 73 МЛН
Functions in Python | Introduction | Python for beginners #lec56
24:07
Jenny's Lectures CS IT
Рет қаралды 124 М.
For Loop in Python | Python Tutorials for Beginners #lec42
19:42
Jenny's Lectures CS IT
Рет қаралды 144 М.
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 135 М.
Python Project 2 | Password Generator in Python | Python for Beginners #lec49
22:20
6 Tips to write BETTER For Loops in Python
9:19
Patrick Loeber
Рет қаралды 247 М.
For loops in Python are easy 🔁
5:06
Bro Code
Рет қаралды 276 М.
#20 Python Tutorial for Beginners | While Loop in Python
12:43
Telusko
Рет қаралды 1,6 МЛН
While loops in Python are easy ♾️
6:58
Bro Code
Рет қаралды 335 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН