Skip to content
English

A box with a name

  • A variable is a named box that holds a value.
  • You put a value in the box, then use the name later.
  • The value can be a number or a string.
中文

有名字的盒子

  • 变量(variable)是一个有名字的盒子,用来存放一个值。
  • 你把值放进盒子,稍后用名字来使用它。
  • 这个值可以是数字,也可以是字符串。

Handout

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

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