Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 28)
28.
What is the correct way to comment a single-line?
// This is a comment
/* This is a comment */
# This is a comment
-- This is a comment
Answer: Option
Explanation:
In Python, single-line comments are made using the '#' symbol.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.