Home >Backend Development >Python Tutorial >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:
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!