The Anatomy of the range() Function and For Loop
September 26, 2020
A For Loop is a mechanisms in Python that repeats an action some number of times until a specified condition evaluates to false. The For Loop iterates through an iterable (aka container or collection); one of these containers is the range() function. In this video, we’ll explore the anatomy of the range() function and how it’s used with the For loop in Python.
Syntax:
for variable in container: statements