Facebook – https://www.facebook.com/TheNewBoston-464114846956315/

GitHub – https://github.com/buckyroberts

Google+ – https://plus.google.com/+BuckyRoberts

LinkedIn – https://www.linkedin.com/in/buckyroberts

reddit – https://www.reddit.com/r/thenewboston/

Support – https://www.patreon.com/thenewboston

thenewboston – https://thenewboston.com/

Twitter – https://twitter.com/bucky_roberts

for n in range(101):

if n % 4 == 0:

print(n)

for jun in range(100):

if jun % 4 == 0:

print(jun)

print(“n”)

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

print(i, ” is a multiple of 4!”)

for x in range(101):

if x % 4 is 0:

print(x)

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.

this one worked for me too

magicNumber =24

for x in range (0,110,4):

if x is magicNumber:

print(x,”magicNumber”)

break

else:

print(x)

print(range(list(0,101,4)))

homework solution:

for a in range (1,101):

if a%4 == 0:

print(a ,end=’ ‘)

for i in range(101):

if i % 4 == 0:

print(i)

done

buttcrack = 4

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

for n in range(101):

p = n % 4

if p is 0 :

print(n)

that’s my homework it took me like 5 minutes longer than i thougt

This worked for me:

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

print (n)

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

print(x)

Bucky is Awesome —

for n in range(100):

if n%4 is 0:

print(n)

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

print(n)

felt challenged but it only took 3 seconds ):

edit: was fun to find out on my own though

for n in range(101):

if n%4 is 0 and n > 0:

print(n)

what about this

number = 4

for n in range(101):

if n is number:

print(n)

number += 4

for n in range(1, 101):

if (n % 4) is 0:

print(n, ” is multiple of 4″)

Solution of Homework:

for x in range(1,101):

if x % 4 is 0:

print(x)

Use to concatinate int

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

for n in range(101):

if n % 4 is 0:

print(n, “is a multiple of 4”)

for n in range(101):

if n % 4 is 0:

print(n, ‘Multiple’)

for x in range(1 , 101):

if x%4==0:

print(x)

for x in range(1, 101):

if x%4 is 0:

print(x , “Is a number that’s divided by 4”)

else:

print(x)

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

Challenge:

n=1

while n<25:

print(n*4)

n+=1

for i in range(1,100):

if i%4==0 :

print(i)

this worked for me tell me if im wrong

for w in range(0,100,4):

print(w)

great series but downvoting for calling it a hashtag 😀

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

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

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

if n != 0:

print(n)

this must be the correc answer