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

Quick Tip: 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:

Can you explain the difference between single-line and multi-line comments in Python?

Why is it important to use comments in code?

Can you give more examples of when to use comments?

Awesome!

Completion rate improved to 2.17

bookComments

Swipe to show menu

Quick Tip: 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