contact@eeehub.in +919470012104

Comments in Python

Comments: A set of line which is ignore by the interpreter. Comments helps developer to do little documentation of the code. So, that other developers can refer the comment and understand the functionality of block of codes.

A hash sign (#) that is not inside a string literal is the beginning of a comment. All characters after the #, up to the end of the physical line, are part of the comment and the Python interpreter ignores them.


# This is comment
print("Hello! EEEHUBian")# Second Comment


Multiple line comments: Python does not have multiple-line commenting feature. But, by using double quotation three times multiple comment can be possible because this is also ignore by interpreter.


""" This is multiple line comment ."""