While Loop in Python | Python Tutorials for Beginners #lec50

preview_player
Показать описание
In this lecture we will learn:
- while loop in Python
- Need of while loop
- for loop vs while loop in python
- while with else

*********************************************

Connect & Contact Me:

*******************************************

More Playlists:

#coding #pythonforbeginners #python #jennyslectures #pythonprogramming #loops
Рекомендации по теме
Комментарии
Автор

(12:16)
In else block
Out from loop

-SakuraNoHana-
Автор

12:18
Ans:
in else block
out from loop

BadBoy-ipgk
Автор

Excellent teaching with pause expressions ❤really feeling like watching live classes...tq mam.

-saraswathiVanga
Автор

best and well explained tutorial of while loop, thanks a lot and plz keep making tutorials

manojkokane
Автор

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 <0:
break
print("out of loop")

hungercraving-ho
Автор

n=int(input('enter the number'))
sum=0
while n>0:
sum+=n
n=int(input('enter the number'))
if n<=0:
break
else:
print(sum)

print(sum)

ganggameryt
Автор

num= int(input("enter a number: "))
num_1= int(input("enter a number: "))
while num>0 and num_1>0:
sum=num+num_1
print(sum)
break
else:
print("can't sumed up")
well i understood the question in different way

sidharthkaruvarath
Автор

How can someone concentrate on study when the teacher is that cute❤😅

parttimegamer.
Автор

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)

DivyaVani-msnr
Автор

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 !!

rahathasan
Автор

The assignment answer is

in else block
Out from loop

dondinesh
Автор

I m from eee background....and want to learn python language...this tutorial helping me to learn the language easily...thank u mam.

DivyaJyothi
Автор

mam, plzz do classes regularly we are eagerly waiting for python

AkhilAkhil-qobj
Автор

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")

saiushasriparasu
Автор

Basically
I don't liked it i avoid but because of u only mam u changed my opinion on phyton completely mam 🎉🎉❤of u

edutechz
Автор

just wanna say thank you for the help . love from bangladesh

sakibck
Автор

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 ?

avulashivaprasad
Автор

Your teaching are imazine and you to ..love you

chamara
Автор

22:35
5 also printed because we have print statement before encountered break statement
Anyone explain pls

chiranjeevisaibhuvanagiri
Автор

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

mr_affan