Python Principles

For loops

Slide solved ✓

Loops

A loop is a way to make your program run some lines of code multiple times.

A for loop is a type of loop that runs some code once for each item in a list.

Lesson completed

Congratulations! You have finished the lesson "For loops".

Rate the lesson

Leave feedback



Next lesson Browse lessons
Sorry, that's not right.

explanation