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

Course Content

Python Data Types

Python Data Types

1. Numeric Types
2. Boolean Type
3. Strings

bookFloating 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.

Task

Swipe to show code editor

test

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

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookFloating 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.

Task

Swipe to show code editor

test

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

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookFloating 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.

Task

Swipe to show code editor

test

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

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

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.

Task

Swipe to show code editor

test

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

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt