PYTHON / REPEAT A STEP / OPEN LESSON
What is a loop?
A loop runs the indented block for each value in a sequence. In this example, range(1, 4) produces 1, 2, and 3. Try changing the end value.
Try it in the Python runner01 / RUN PYTHON
Change one small thing.
Python executes in an isolated browser sandbox. This guest mini lesson does not need an account and does not save course progress.
CONTINUE / KEEP LEARNING
That was one useful step.
Try lesson 001 and continue through the guided Python path. Python is the only complete guided course right now.
Continue in Syntax