Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Subtraction | Numeric Types
Python Data Types

Swipe to show menu

book
Subtraction

In Python, we can subtract objects that are numeric types: complex numbers, integers, and floating point numbers. It's time to look at the example.

python
python
Task

Swipe to start coding

You have 2 numbers, subtract them.

Solution

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Β 7

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
Subtraction

In Python, we can subtract objects that are numeric types: complex numbers, integers, and floating point numbers. It's time to look at the example.

python
python
Task

Swipe to start coding

You have 2 numbers, subtract them.

Solution

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Β 7
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt