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
Tak for dine kommentarer!
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Spørg mig spørgsmål om dette emne
Opsummér dette kapitel
Vis virkelige eksempler
Awesome!
Completion rate improved to 50
DUMMY CHAPTER
Stryg for at vise menuen
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
Tak for dine kommentarer!