range() (Python)

range() generates a sequence of numbers, most often used to control how many times a for loop runs. It produces numbers on demand rather than storing them…