Skip to content

Lesson 9: Patterns

A loop inside a loop

  • Draw one shape, turn a little, and draw it again: a flower appears.
  • The inner loop draws the shape. The outer loop repeats it.

Words for this lesson

Word Meaning
nested loop a loop inside another loop
pattern a shape repeated in a regular way
random chosen by chance, different each run

Log in or create account

IGCSE, A-Level & AP