Skip to content

INPUT and data types · ⁨INPUT 与数据类型⁩

English

INPUT reads what the user types

  • INPUT reads one line the user types and stores it in a variable.
  • Pair it with OUTPUT to talk to the user.
中文

INPUT 读取用户的输入

  • INPUT 读取用户输入的一行,并存进一个变量。
  • 把它和 OUTPUT 搭配,就能和用户对话。

Handout

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

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