Skip to content

Variables, constants & data types · ⁨变量、常量与数据类型⁩

English

A variable is a named box

  • A variable is a name that stores a value.
  • You put a value in with = — this is called assignment.
  • Use a clear name so the program is easy to read.
中文

变量是一个有名字的盒子

  • 变量(variable)是一个用来存值的名字。
  • 用 = 把值放进去 —— 这叫做赋值(assignment)。
  • 用清晰的名字,程序才好读懂。

Handout

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

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