If we want to avoid reusing loops that always do the same thing, we can add parameters.

Add a parameter to make the loop not only reusable but also adaptable.

Nice! We got the same output, but we can change that.

Make sure to insert counter as a parameter, then add counter <= 5.