While Loops in Python | Python Tutorial - Day #18

preview_player
Показать описание
Python is one of the most demanded programming languages in the job market. Surprisingly, it is equally easy to learn and master Python. This python tutorial for absolute beginners in Hindi series will focus on teaching you python concepts from the ground up.

python, C, C++, Java, JavaScript and Other Cheetsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

I've 2 years of experience in python development. Even though I know a lot. I watch all of Harry bhai's videos and love the way he explains. Good job Harry Bhai 👍

chrcter
Автор

I am not from IT, 30 years exp in Maintenance department (Mechanical Engineering) I have learned coding Python from Harry ( as well others ! )... thanks Harry!

mihirtechneer
Автор

Day #18 done! The story of the ants was pretty interesting 😆

mariamhasan
Автор

9:13s, I heard this story for the second time, in the last video of Python. And yes I have also used this many times but in winters when I go to the mountains.Then I did it to warm up the computer. It helps to heat up many computers.👍🏻👍🏻👍🏻

kidKrishkode
Автор

Truly commendable playlist, completely understood python.

tripleseven
Автор

🤣🤣 Bhai, honestly, chitiya (ants) ka example bahot hi achcha that.. learning with fun.
Hats off to you sir ji 🤠

Bhuro
Автор

Day 4 of #100DaysOfCode. Today in this video 18, I learned about Python's while loops, which execute statements as long as a condition is true, and how to use else statements with them. I also explored emulating do-while loops using an infinite while loop and a break statement with an if condition, ensuring the loop body executes at least once.
Thank You Harry Bhaiya.

debasishbesra
Автор

I have learned many things from and still I just want to learn more things from you whatever you teach us is the easiest way to make us understand that's why I love to watch your videos.

Vlogs_with_lifelesson
Автор

hey ...that hack about getting rid of ants using a while loop ... ! truly genius bro !

ummi
Автор

I am doing 8=10 lectures easily daily. hope to finish in 10 days all 100 lectures. So interesting. Thak you Harry. I am a Professor Of Medicine. MD Medicine but i will make good use of this programming knowledge and have already made scripts to manage pt data, medical records, pharmacy etc using php n mysql. Now will try to do the same using python. jango and flask look daunting to me right now, but i am ready to work hard and dont get tired sitting n codign for 12-14 hrs daily. Just love it. Thanks for being such a good tacher n giving all this away for free. We r giving u a lot of yt watch hrs :D

infodiff
Автор

I was inconsistent for a few days but yesterday I covered all that up. And now i am all caught up. :)

saugatnepal
Автор

Day 18 Done 🔥🔥, Amazing video harry bhai the way you teach us we loved that Thank you so much for being our Harry Bhai & Teacher ❤❤🙌🙌

Kuch_Bhi-lets_explore_it
Автор

Harry Sir, I'm right now in class 9th and i have extreme intrest 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?

_tryn_
Автор

do..while is a loop in which a set of instructions will execute at least once (irrespective of the condition) and then the repetition of loop's body will depend on the condition passed at the end of the while loop. It is also known as an exit-controlled loop.

palak
Автор

Following is an example of using combination of while loop and break statement as do while loop in python.
i = 10
while (True):
print(i)
i = i+1
if i>10:
break

Nasibullah
Автор

In case of decrementing while loop where we don't need to print 0 we can simply write ---
while i :
print(i)
i = i-1
in case of C, we could write
while(i--){
printf("%d", i);
}
Given we need to initialize i as 6 instead of 5

YessajiRao
Автор

Respected Harry Sir, please never stop coding, doing YouTube videos, bcoz you are God for us..God bless you sir..

Footballmoment
Автор

One could be an excellent programmer but that doesnt mean he will be a good teacher as well.
Harry bhai has both the skills which makes him an extra ordinary teacher, keep up the good work!!!.

FunnyVideosZ
Автор

With the break statement we can stop the loop even if the while condition is true
With the continue statement we can stop the current iteration, and continue with the next
With the else statement we can run a block of code once when the while condition no longer is true

muhammadyaqoob
Автор

i wrote this program with for loop it can print any table of number input by user

intro = " Table Writer Program "
print(intro.center(50, "*"))
n = int(input("Enter NUmber: "))
for i in range(n, 11*n, n):
print(i)

DrRitul
welcome to shbcf.ru