Python Programming Tutorial – 10 – Comments and Break

Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


raceregos says:

for n in range(101):
if n % 4 == 0:


for jun in range(100):
if jun % 4 == 0:

Fadi Naoum says:

for i in range(0, 101, 4):
print(i, ” is a multiple of 4!”)

jia yong says:

for x in range(101):
if x % 4 is 0:

Spence says:

Absolutely love all your videos, this series is the best series on learning python, Im going to school right now and I showed my professor your videos and he now uses them for the class. Your awesome man thank you for all these.

Adams Muha says:

this one worked for me too
magicNumber =24
for x in range (0,110,4):
if x is magicNumber:

defialpro says:


Ivy Li says:

homework solution:

for a in range (1,101):
if a%4 == 0:
print(a ,end=’ ‘)

G.G.G says:

for i in range(101):
if i % 4 == 0:


ChengBo Zhang says:

buttcrack = 4
while buttcrack <= 100: print(buttcrack) buttcrack += 4

Mohammed Khresat says:

for n in range(101):
p = n % 4
if p is 0 :
that’s my homework it took me like 5 minutes longer than i thougt

Nikolaj Daniel says:

This worked for me:
for n in range(0, 101, 4):
print (n)

GhostHacker _1 says:

for x in range (4, 100, 4):

Varun Vishwakarma says:

Bucky is Awesome —
for n in range(100):
if n%4 is 0:

Jon says:

for n in range(0, 101, 4):

felt challenged but it only took 3 seconds ):

edit: was fun to find out on my own though

toxic l says:

for n in range(101):
if n%4 is 0 and n > 0:

Sushant Burde says:

what about this
number = 4
for n in range(101):
if n is number:
number += 4

abi crazieeee says:

for n in range(1, 101):
if (n % 4) is 0:
print(n, ” is multiple of 4″)

Adnan Maruf says:

Solution of Homework:

for x in range(1,101):
if x % 4 is 0:

Sami Eltamawy says:

Use to concatinate int

print(“Value is ” + str(x))

misty thelion says:

for n in range(101):
if n % 4 is 0:
print(n, “is a multiple of 4”)

Cesar Reinoso says:

for n in range(101):
if n % 4 is 0:
print(n, ‘Multiple’)

Jogga Jasus says:

for x in range(1 , 101):
if x%4==0:

Islam ALazbawy says:

for x in range(1, 101):
if x%4 is 0:
print(x , “Is a number that’s divided by 4”)

Mohan Sharma says:

x = 4while x < 101:     print(x)     x +=1*4

Julia Fagas says:

while n<25:

Naveenraj Kumarakrishnan says:

for i in range(1,100):
if i%4==0 :

Zeperd gaming says:

this worked for me tell me if im wrong
for w in range(0,100,4):

Arsenius says:

great series but downvoting for calling it a hashtag 😀


In hour i learned more then i learned in my school in 3 month’s

Tunde Olowu says:

A program to list the prime numbers between a range, and count how many there are:

t = 0
for n in range(2, 300):
for m in range(2, n+1):
if n % m is 0:
if m < n: break if m is n: print(n) t += 1 continue print(“There are “, t, ” prime numbers between 2 and “, n) Output: … 239 241 251 There are 54 prime numbers between 2 and 299 Process finished with exit code 0 Why isn’t it going beyond 251? Any help, please! Using PyCharm 2017.3

shyam kumar says:

for n in range(0,101,4):
if n != 0:

this must be the correc answer

Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours