Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Learn Numbers | Introduction to Python 1/2
Practice
Projects
Quizzes & Challenges
Questionários
Challenges
/
Introduction to Python for Data Analysis

bookLearn Numbers

Deslize para mostrar o menu

Let's talk about numbers!

Type of NumberUsageExampleNumbers ExampleSyntax in Python
IntegerWe use integer numbers more for countingCalculate distance between two cities1, 2, 6, 10, ...int
Floating-pointWe use floating-point numbers for accurate measurementsDefine the temperature today30.5, 38.9, 10.0006, 60.0float

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

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 integer",
)
print("Check the type of 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 8

Pergunte à IA

expand

Pergunte à IA

ChatGPT

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

Seção 1. Capítulo 8
some-alt