Skip to content

1-D arrays (lists) · ⁨一维数组(列表)⁩

English

A list holds many values

  • A list (the exam calls it an array) stores many values under one name.
  • Write the items in square brackets, separated by commas.
  • An array normally stores items of the same type.
中文

列表存放许多值

  • 列表(list,考试里叫数组 array)用一个名字存放许多值。
  • 把元素写在方括号里,用逗号隔开。
  • 数组通常存放相同类型的元素。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩