Python Programming Tutorial #7 - While Loops

preview_player
Показать описание
This is the 7th video in my python programming tutorial series and in this video I explain how to use a while loop. A while loops is generally used when you want to run a line or lines of code a unknown amount of times.

As always please LIKE and SUBSCRIBE for daily tutorials and content.

Video Tags:
python,python tutorial,python language,python full course,python course,learn python,learn python programming,python tutorial for beginners,python tutorial 2018,python programming tutorial,python programming language,software development,programming tutorial
Рекомендации по теме
Комментарии
Автор

Thank you bro. Your tutorials are so clear and helpful. I'm a complete beginner but after watching this video I came up with this fun little idea just to practice what I learned. And it's all thanks to you.

print("What's the password?")

while input() != 'Brandon':
print("Nope. What's the password? ")
else: print("That's correct!")

And it worked like I wanted! I was so amazed that i actuallly coded something of my own. Even though it's so small and insignificant. I hope to work on bigger projects someday and create something valuable for my family. Thank you for teaching this for free.

techdiesel
Автор

I bought Zed A Shaw book "Learn Python the Hard way" and i can say that your tutorial have helped me 10 times more than the book has. WELL DONE KEEP IT UP🔥

wietskevanderwesthuizen
Автор

i stopped python for a while thanks this helped me allot with reviewing

ohturnbull
Автор

loop= True
while loop:
if channel== "Tech With Tim"
print("You are learning Python")
loop= False
else:
print("Not correct channel")

yahianad
Автор

Loopo = True

while loopo:
password = input("set your password: ")

Print("you are signed in")
Break
Print("your password is wrong")

Thanks a lot bro I love your channel😍😍😍😍

arvitech
Автор

Tim I find your videos very helpful, however in video #7 of beginner python (while loops) can you explain why the (break) requires two indentions? I've had this issue before and figured it out, but I would like to understand the rule. Thank you.

dannybell
Автор

Hi Tim,
In text tutorial you have coded run = False instead of run = True the code will not do anything if run = False at top

kaustubhpandey
Автор

Loop = True
while loop:
yup = input('Safeword: ')
if yup == 'Fluggaenkoecchicebolsen':
break

Hungry_Tree_Ghost
Автор

why did you put loop = true at the beginning ?

emeine
Автор

Nice video
Watched at 2x
Meet you in next one

eswarspython