Python Tutorial

Python For Loops

Source: Bro Code

For Loops

Loops let you repeat blocks of code efficiently.

PYTHON
for i in range(5):
    print(i)
Try it Yourself
Run this PYTHON example in your local environment or course sandbox.