Welcome To
Comments


Python Comments

The python comments provide the additional information about code . every programming language have their own comments. the comment is used for explaining the written code . but the python interpreter does not execute that statements.

Types Of Comments

Single Line Comment

MultiLine Comments

Single Line Comments

The single line comment is we can place that comment in to a line is called single line comment the comment start from # hash

Example

# This is the python learn tool project created by coder darshan

Multi Line Comments

usually the python provide only single line comment we can place every line beginning # hash shown in Example

Example

# This is a multiline comment we can put all line begin with # hash

# You like this website please subscribe the @Darshantec youtube channel

Another Multi Line Comment

When we using """ """ triple quotes at the string inside the comment the python interpreter avoid the execution of that statements. Example in the below

""" This is a multiLine comments this page is about comments
yoy want to learn the more thing of python please follow this website"""