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

Kursinnhold

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
Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 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
Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 3
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt