Comments in Python programming language

There are two types of comments in Python code. There are single-line and multi-line comments. Single line comments are denoted with hash symbol. Multiline comments are denoted with triple single line quotation symbols to start the comment, and the comment ending is also specified with triple single line quotations symbols.

Data in comments is not executed, but it adds clarity to the code that follows that comment.

YouTube video



Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator