How to batch comments in python

藏色散人
Release: 2019-07-08 16:14:59
Original
15095 people have browsed it

How to batch comments in python

How to comment in batches in python?

In python, there will also be times when many lines are commented, this is the case Next, you need to batch multi-line comments. Multi-line comments are enclosed in triple quotes ''' ''', for example:

How to batch comments in python

Some people may say that this is not confused with multi-line strings. But I see many programmers using it this way, so just pay attention to the distinction when using it.

Related recommendations: "Python Tutorial"

The above is the detailed content of How to batch comments in python. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template