Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Numeric Types | Data Types
Introduction to Data Analysis in Python
course content

Conteúdo do Curso

Introduction to Data Analysis in Python

Introduction to Data Analysis in Python

1. Basics
2. Data Types
3. Control Flow
4. Functions and Modules
5. Introduction to NumPy

book
Numeric Types

Numeric types

TypeUsageExamples
intTypically used for counting1, 2, 6, 10, ...
floatUsed for accurate measurements30.5, 38.9, 10.0006, 60.0
complexComplex numbers have their uses in many applications related to mathematicsx+iy

To check the type of a specific variable, use the function type(variable).

question-icon

Fill in the gaps to make sentences correct, put correct items to the gaps.

a = 5
b = 5.0000003


print('This variable has the integer type:',
)
print('This variable has the floating-point type:',
)
print('Check the type of variable a:',
)
print('Check the type of variable b:',
)

Clique ou arraste solte itens e preencha os espaços

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2

Pergunte à IA

expand
ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

course content

Conteúdo do Curso

Introduction to Data Analysis in Python

Introduction to Data Analysis in Python

1. Basics
2. Data Types
3. Control Flow
4. Functions and Modules
5. Introduction to NumPy

book
Numeric Types

Numeric types

TypeUsageExamples
intTypically used for counting1, 2, 6, 10, ...
floatUsed for accurate measurements30.5, 38.9, 10.0006, 60.0
complexComplex numbers have their uses in many applications related to mathematicsx+iy

To check the type of a specific variable, use the function type(variable).

question-icon

Fill in the gaps to make sentences correct, put correct items to the gaps.

a = 5
b = 5.0000003


print('This variable has the integer type:',
)
print('This variable has the floating-point type:',
)
print('Check the type of variable a:',
)
print('Check the type of variable b:',
)

Clique ou arraste solte itens e preencha os espaços

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt