Python - Comments

Card Puncher Data Processing

Single-line

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

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

Multi-line

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

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







Share this page:
Follow us:
Task Runner