Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Variables | Basics
Introduction to Data Analysis in Python

bookVariables

Variables are used to store information inside the program.

To assign value to a variable, please use = sign like so:

123
number = 5 string = 'cat' print(number, string)
copy
question mark

Choose the correct output of this code

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 6

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Awesome!

Completion rate improved to 2.7

bookVariables

Sveip for å vise menyen

Variables are used to store information inside the program.

To assign value to a variable, please use = sign like so:

123
number = 5 string = 'cat' print(number, string)
copy
question mark

Choose the correct output of this code

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 6
some-alt