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

Kursusindhold

Python Data Types

Python Data Types

1. Numeric Types
2. Boolean Type
3. Strings

book
Addition

Python provides arithmetic operators that allow us to perform arithmetic operations. The following include arithmetic operations in Python, along with their meaning:

First, let's take a look at how the numbers are added.

python

Now it's your turn to test your strength.

Opgave

Swipe to start coding

You have 2 integers, add them.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 6
toggle bottom row

book
Addition

Python provides arithmetic operators that allow us to perform arithmetic operations. The following include arithmetic operations in Python, along with their meaning:

First, let's take a look at how the numbers are added.

python

Now it's your turn to test your strength.

Opgave

Swipe to start coding

You have 2 integers, add them.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 6
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt