Continue From the Beginning (Exercise)
Let’s do another control flow exercise based on looping keywords. In this task, you should use
continue to write a program that loops over the numbers
50 and prints all the numbers that are not multiples of
What can you use to figure out what’s a multiple of a number? And then also you’re going to need a loop in here. And how can you use this
continue keyword to not do something when a certain condition is met? Okay? Think about this.
Become a Member to join the conversation.