Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Comments | Getting Started
Introduction to Python

bookComments

Note
Note

You can quickly comment or uncomment lines of code by selecting them and pressing Ctrl + / on Windows or Command + / on Mac.

123
print("Blueberries") # print("Oranges") print("Ranch dressing")
copy
question mark

What symbol is used to write a comment in Python?

Select the correct answer

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

Suggested prompts:

What happens if I remove the hash symbol from the second line?

Can you explain why comments are useful in larger projects?

How do I write multi-line comments in Python?

Awesome!

Completion rate improved to 2.17

bookComments

Swipe to show menu

Note
Note

You can quickly comment or uncomment lines of code by selecting them and pressing Ctrl + / on Windows or Command + / on Mac.

123
print("Blueberries") # print("Oranges") print("Ranch dressing")
copy
question mark

What symbol is used to write a comment in Python?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 2
some-alt