Beginner Python
Q6 / 101

How do you write a comment in Python?

Correct! Well done.

Incorrect.

The correct answer is C) # This is a comment

C

Correct Answer

# This is a comment

Explanation

Python uses # for single-line comments. Multi-line comments are typically written as consecutive # lines or string literals.

Progress
6/101