A lot of times you want to loop through some data but only perform an action a certain number of times. In the cases when you know how many times you need to perform a certain task, you use a for loop. Let's look at its syntax in the next video.