top of page

In this module, we will talk about loops. Loops, as the name suggests, are segments of our code that continue to run many times. We can use loops in order to continue to do a similar task multiple times. This is useful because now we don't need to keep writing the same code over and over again- we can just write a loop!



Watch Now

More on this Module

Loops are great - especially for things we need to do incrementally. For example, we can increment our index each time by a certain amount in order to do a task related to this index. There are some even more powerful applications for loops; As we'll see later on, loops also quite useful for iterating through arrays.

Here are some nice practice problems we've designed: 

bottom of page