Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Type conversion?

Definition 15.4 Primary & Middle School Computer Science · Capítulo 15 — Variables and Input

A type conversion makes, from a value, the value of another type that stands for the same thing: int("12") gives the whole number 12, float("2.5") the decimal number 2.5, and str(12) the text "12".

Ler no capítulo →