Python - Comments

> Procedural Languages > Python > Python - Grammar (Package | Module)

Table of Contents

1 - Single-line

The instructions that begin with a # (pound or hash) are single-line comments.

# I'm nico and write a single-line comment in python 

2 - Multi-line

A set of triple quotation marks design a multi-line comment.

"""I'm nico
and write a multi-line comment in python !"""