全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Type?

又称: type (of a value)

Definition 15.3 Primary & Middle School Computer Science · 第 15 章 — Variables and Input

The type of a value is the kind of value it is. Whole numbers have the type int (for integer), decimal numbers the type float, and texts in quotes the type str. The instruction type(...) gives the type of a value.

Three types, three kinds of box. The same symbol + does different things with them.
Three types, three kinds of box. The same symbol + does different things with them.
在原文中阅读 →