# Python Programming Tutorial – 11 – Continue

///Python Programming Tutorial – 11 – Continue

## Python Programming Tutorial – 11 – Continue

GitHub –
reddit –
Support –
thenewboston –

source

By |2019-10-22T23:31:52+00:00October 22nd, 2019|Python Video Tutorials|42 Comments

1. Kevy kev October 22, 2019 at 11:31 pm - Reply

2. danny cervantes October 22, 2019 at 11:31 pm - Reply

# Homework Tutorial 10

for n in range(101):

if n % 4 is 0:

print(n)

3. William D'Arrigo October 22, 2019 at 11:31 pm - Reply

Bucky you're the best!

4. Emma Pederson October 22, 2019 at 11:31 pm - Reply

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

print(x, "is divisible by 4")

5. Tomislav October 22, 2019 at 11:31 pm - Reply

I did it with break (before you start typing):
Team = [8, 23, 24, 35, 32]

for a in range (1,40):

while n not in Team:

print (a)

break

But still you are help us a lot 🙂 Thanks Bucky!

6. Paul Morrey October 22, 2019 at 11:31 pm - Reply

Thanks

7. Pankaj Khajouria October 22, 2019 at 11:31 pm - Reply

Hey Bucky! I have found a friend in you! You are a teacher, friend and an anti depressant! Hoped your cardboard got properly recycled.

for n in range (101):

if n%4 is 0:

print (n)

9. Ayeman Bin Salauddin October 22, 2019 at 11:31 pm - Reply

ANYONE WATCHING IN 2018 ? #DECEMBER !

10. NAGAbaba2288 October 22, 2019 at 11:31 pm - Reply

0:04 I thought he will say, learn about the word, bird 😐

11. Justice Masinge October 22, 2019 at 11:31 pm - Reply

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

12. Roblox xd October 22, 2019 at 11:31 pm - Reply

numero = [2,4,6,8,10]

print("Here are the numbers that are still available")

for n in range(1,10):
if n in numero:
continue
print(" fuck" * n , n)

it actually took me a long ass time to figure out how to print fuck times on what missing on the number table i finally felt a little worth

13. Yilmaz Bingol October 22, 2019 at 11:31 pm - Reply

i run this on python shell ;perfectly but i got this error on pycharm: IndentationError: expected an indented block

14. Cathal O' Riordan October 22, 2019 at 11:31 pm - Reply

Good content your helping me alot in programming!!!

15. Tanner Barcelos October 22, 2019 at 11:31 pm - Reply

#write a program to print all odd numbers between 1 and 40.

givenList = [2,4,6,8,10,12,14,16,18,20,22,24,26,28.30,32,34,36,38,40]

for number in range (1,40):
if number in givenList:
continue
print (number)

16. Elizabeth Morban October 22, 2019 at 11:31 pm - Reply

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

17. Andrew El October 22, 2019 at 11:31 pm - Reply

can you do one on threads: where i have a list and it prints 2 words in the list pauses for x amount of seconds, then continue wiht the next two? i cna't figure that out

18. bhupal chhetri October 22, 2019 at 11:31 pm - Reply

for n in range(1 ,101):

#print(n)

if n%4 == 0:

print(n)

19. Zucky Codes October 22, 2019 at 11:31 pm - Reply

print ("Bucky is best")

20. Hamza Waheed October 22, 2019 at 11:31 pm - Reply

for x in range(1,11):

print(x * 4,"is a multiple of 4")

21. Caramel Shop October 22, 2019 at 11:31 pm - Reply

mine doesnt work

numbersTaken = [2, 5, 12, 13, 17]

print("here are numbers available:")

for n in range(1,20):

if n in numbersTaken:

continue

print(n)

22. praveen kumar October 22, 2019 at 11:31 pm - Reply

This continue statement does n't work on my lap….

23. Alan Kuo October 22, 2019 at 11:31 pm - Reply

I love Bucky, really appreciate what you do for us.

24. Alan Kuo October 22, 2019 at 11:31 pm - Reply

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

25. Vijay Remidala October 22, 2019 at 11:31 pm - Reply

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

sometimes alignment of the commands really matters. e-g i was trying to run the program but there was an error although, i had typed everything the way our tutor did. later, i found that there was a problem with alignment of commands after each line. the pycharm , by default, do so. though, still i had to align them in order to run it…

27. Ruby Srivastava October 22, 2019 at 11:31 pm - Reply

Haven't seen any new videos of Bucky…plz make new video tutorials…they are really helpful

28. JARVIS 202 October 22, 2019 at 11:31 pm - Reply

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

29. Rachit Panwar October 22, 2019 at 11:31 pm - Reply

your videos are awesome man but pllz try to teach a little brief bcoz i got problem in understanding indentations and u even didnt mentioned it

30. Paweł Brysch October 22, 2019 at 11:31 pm - Reply

continue – breakuje aktualne powtórzenie petli

31. tkrudi October 22, 2019 at 11:31 pm - Reply

hEY! Beat Russia? Where did that come from

32. Hamza Abbas October 22, 2019 at 11:31 pm - Reply

Still u cant beat russia 😛 great video collection

Did he say india…( If not i will be embarrassed) YES! INDIA! THE BEST TEAM IN THE WORLD!!

34. Emilio Sakr October 22, 2019 at 11:31 pm - Reply

the continue option is changed with new python updates is is not working at all i tried 4 times

35. GMByte Java October 22, 2019 at 11:31 pm - Reply

That feeling when you're from Russia…

36. Rody October 22, 2019 at 11:31 pm - Reply

hey can you help pls?
ive did it all but it prints the number f only like 10 times can u help?
family = [1 , 2 , 3 ,4]

print('thats my family')

for f in range(1, 10):
if f in family:
continue
print('f')

37. Retro Gamer October 22, 2019 at 11:31 pm - Reply

print('bucky tutorials are the best')

38. ankit patankar October 22, 2019 at 11:31 pm - Reply

Challenge #1

print("n nTo write multiple of 4 till 100 n")

for x in range(1,101):
y = x % 4
if y is 0:
print(x,"It is the multiple of 4")
continue

39. Gabriel Freitas October 22, 2019 at 11:31 pm - Reply

40. Sheng Zhan October 22, 2019 at 11:31 pm - Reply

20,000 Olympics ……. lol

41. Ksb Keshab October 22, 2019 at 11:31 pm - Reply

u forget else: before print(n)

42. defialpro October 22, 2019 at 11:31 pm - Reply

alternatively, you can use 'not in' to make this work.

for f in range (0,20):
if f not in numbersTaken:
print(f)
elif f in numbersTaken:
continue