...

/

Creating a Range of Numbers

Creating a Range of Numbers

In this lesson, you will learn how to create a range of numbers using `Range`.

Introduction

In the previous lessons, we used the range method to populate a collection. A Range is also a collection in itself. It is an ordered sequence of integers with the integers being equally spread apart from one another by an equal interval. ...