In this chapter, you looked at closed and half-open range operators, which allow you to specify a range of numbers rather than specifying every individual number discretely. You also learned about the three different loop types, the for-in loop, the while loop, and the repeat-while loop, and how best to use them depending on the situation.
You are now able to write your own programs that uses range operators to specify a range of numbers, and uses loops to easily perform repetitive tasks. You are also able to determine which type of loop is best suited to your program. Great job!
In the next chapter, you will study collection types, which allow you to store a collection of data that can be referenced by an index, and a collection of key-value pairs.