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

Contenuti del Corso

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:',
)

Click or drag`n`drop items and fill in the blanks

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

course content

Contenuti del Corso

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:',
)

Click or drag`n`drop items and fill in the blanks

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt