Python for loop ➰

preview_player
Показать описание
python for loops tutorial example explained

#python #for #loop

# for loop = a statement that will execute it's block of code
# a limited amount of times
#
# while loop = unlimited
# for loop = limited

import time

#for i in range(10):
#print(i+1)

#for i in range(50,100+1,2):
#print(i)

#for i in "Bro Code":
#print(i)

for seconds in range(10,0,-1):
print(seconds)
print("Happy New Year!")

––––––––––––––––––––––––––––––
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
––––––––––––––––––––––––––––––
Рекомендации по теме
Комментарии
Автор

# for loop = a statement that will execute it's block of code
# a limited amount of times
#
# while loop = unlimited
# for loop = limited

import time

#for i in range(10):
#print(i+1)

#for i in range(50, 100+1, 2):
#print(i)

#for i in "Bro Code":
#print(i)

for seconds in range(10, 0, -1):
print(seconds)
time.sleep(1)
print("Happy New Year!")

BroCodez
Автор

Wow bro, u r better than many paid Udemy course lectures🥺, U DESERVE THIS 🚬

starkie
Автор

I really appreciate your efforts buddy, thanks

stickydamper
Автор

Man...🔥🔥🔥
I finally found the CS teacher I always wanted... 😀😂😂👍

adityakonnur
Автор

bro youre a g for this i've learned so mutch from you man thanks for these amazing videos

SleepyBombay
Автор

Excellent explanation in a concise format. Thanks very much!

bonesrivers
Автор

This was a really good refresher course, good job Bro, keep it up

alazario
Автор

Came here for the Java, stayed for the Python.
Appreciate and miss you bro.

willywonka
Автор

Thank you brochacho. Simple and to the point, so helpful

kyleeberhart
Автор

Bro about to save my life and career fr love you

lw
Автор

So fast but easy to follow step by step. Just the way I like it. Thanks 👍

alexhjohno
Автор

That was the best explanation I've seen!

FiamettaDT
Автор

Thanks for the content keep up the great job

abujihadsalahudin
Автор

❤❤ salute to you bro
You r having a fab teaching skills

TREHANAHMED
Автор

Bro! You are awesome! Thank you so much!!

Freyaris
Автор

I was stuck on for loops and this really helped me

RyanRo-ybmc
Автор

This is legitimately 10x better than my course

The_ATF_