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

Kursinnhold

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.

Oppgave

Swipe to start coding

You have 2 integers, add them.

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

Oppgave

Swipe to start coding

You have 2 integers, add them.

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