Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Type » ?

Aussi appelé : type (of a value)

Definition 15.3 Primary & Middle School Computer Science · Chapitre 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.
Lire dans le chapitre →