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
Tack för dina kommentarer!
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 50
DUMMY CHAPTER
Svep för att visa menyn
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
Tack för dina kommentarer!