Loops
Let’s learn about different kinds of loops and the range( ) function.
We'll cover the following
Loops allow us to repeatedly execute sets of statements for as long as a given condition remains True
. There are two kinds of loops in Python— for
and while
.
Get hands-on with 1400+ tech skills courses.