Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn DUMMY CHAPTER | SECTION FOR PYTHON COURSE WITH GRID CHAPTER
TEST PYTHON COURSE WITH GRID CHAPTER

bookDUMMY 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

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 2

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 50

bookDUMMY CHAPTER

Swipe to show menu

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

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 2
some-alt