Python Comment
Comments in Python can be used to describe any program code. It can also be used to hide code.
Comments are the most useful item of any program. It enables us to understand the way a program works. In Python, any statement written with the # symbol is known as a comment. The interpreter does not interpret the comment.
Annotation is not a part of the program, but it increases the interactivity of the program and makes the program readable.
Python supports two types of comments:
Single Line Comment
If the user wants to specify a single line comment, should the comment begin with? #?Multi Line Comment
Multi-line comments can be given inside triple quotes.
Python Comment
Reviewed by Sk Jha
on
October 24, 2019
Rating:
No comments: