Loops with Ranges
Learn about fixed iteration loops that have a large number of iterations with different intervals.
The range as a sequence with ..
and ...
The range is used to generate a sequence of values. It requires a start point and an endpoint to specify the values. There are two kinds of ranges:
- The range specified with
..
generates the values, including the upper limit. For example,0..100
generates values to .
Get hands-on with 1200+ tech skills courses.