Skip to content

1-D arrays (lists)

A list holds many values

  • A Python list stores many values under one name. We use it here to model an exam array.
  • Write the items in square brackets, separated by commas.
  • A Cambridge array has fixed declared bounds and elements of one data type. Python lists can grow and contain mixed types; they are not the same data structure.

Handout

Log in or create account

IGCSE, A-Level & AP