0 votes
in Python by
Can we make multi-line comments in Python?

1 Answer

0 votes
by

In python there is no specific syntax to display multi-line comments like other languages. In order to display mitli-line comments in Python, programmers use triple-quoted (docstrings) strings. If the docstring is not used as the first statement in the present method, it will not be considered by Python parser.

Explore Python Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!

Related questions

0 votes
asked Sep 24, 2021 in Python by Robin
0 votes
asked May 24, 2020 in Python by SakshiSharma
...