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
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 50
DUMMY CHAPTER
Pyyhkäise näyttääksesi valikon
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
Kiitos palautteestasi!