DUMMY CHAPTER
Welcome, learner!
Let's take our very first step and try to print something using Python. To do this, we'll use the print()
function. To print your desired text, simply enclose it in quotation marks "..."
or '...'
, otherwise Python will try to find a variable with that name (which we'll discuss later).
So, if you want to print a sentence, use the following code and execute it:
print("Some message")
This will display the following in the console:
Some message
Takk for tilbakemeldingene dine!
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Still meg spørsmål om dette emnet
Oppsummer dette kapittelet
Vis eksempler fra virkeligheten
Awesome!
Completion rate improved to 50
DUMMY CHAPTER
Sveip for å vise menyen
Welcome, learner!
Let's take our very first step and try to print something using Python. To do this, we'll use the print()
function. To print your desired text, simply enclose it in quotation marks "..."
or '...'
, otherwise Python will try to find a variable with that name (which we'll discuss later).
So, if you want to print a sentence, use the following code and execute it:
print("Some message")
This will display the following in the console:
Some message
Takk for tilbakemeldingene dine!