Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Numerical Data Type in General | Conhecendo os números em Python
Tipos de Dados em Python
course content

Conteúdo do Curso

Tipos de Dados em Python

Tipos de Dados em Python

1. Conhecendo os números em Python
2. Verdadeiro ou falso?
3. Strings
4. Reunindo todos os tópicos

book
Numerical Data Type in General

Before anything else, it's essential to familiarize ourselves with numeric data types, which are typically the ones we use the most.

Numeric data types typically include two primary built-in categories: integers (int) and floating-point numbers (float). To clarify, 'built-in' indicates that Python can handle them from the start, eliminating the need for us to define them in advance. So, you can simply use int/ float in Python without any additional specifications.

Integer represents the whole numbers you commonly encounter in your daily life, such as 1, 2, 45, or 456566.

On the other hand, floating-point numbers include values like pi (3.14159265359) and Euler's number (2.71828).

question-icon

Match the numbers with their type.

Integer Number
Floating-point Number

Clique ou arraste solte itens e preencha os espaços

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 1
We're sorry to hear that something went wrong. What happened?
some-alt