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

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 6

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Spørg mig spørgsmål om dette emne

Opsummér dette kapitel

Vis virkelige eksempler

Awesome!

Completion rate improved to 2.7

bookVariables

Stryg for at vise menuen

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

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 6
some-alt