Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Floating Point Numbers | Numeric Types
Python Data Types
course content

Kurssisisältö

Python Data Types

Python Data Types

1. Numeric Types
2. Boolean Type
3. Strings

book
Floating Point Numbers

It is time for floating point numbers.

A floating point number is a number with decimal places, so floating point number has an integer part, and a fraction. For example, 65.3, -0.04, 1000.01 are all floating point numbers.

python
Tehtävä

Swipe to start coding

Create three variables : a, b, c with the following values: 0.06, -5.0, 985.5067 and check the type of this object.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
toggle bottom row

book
Floating Point Numbers

It is time for floating point numbers.

A floating point number is a number with decimal places, so floating point number has an integer part, and a fraction. For example, 65.3, -0.04, 1000.01 are all floating point numbers.

python
Tehtävä

Swipe to start coding

Create three variables : a, b, c with the following values: 0.06, -5.0, 985.5067 and check the type of this object.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt