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

Kursinnehåll

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
Uppgift

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 desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 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
Uppgift

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 desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt