Python – annotate and uncomment multiline programs

The article directories
Python Comment and Uncomment multiline programs 1, Method 1 (recommended) 1, Comment 2, Uncomment 2, Method 2

Python annotation and uncomment multiline programs
In the program, sometimes you want to comment out the multi-line program, line by line comment is more troublesome, so can you comment more lines, yes, there are several methods:
1. Method 1 (recommended)
1, comments,
Select the paragraph you want to comment, press Ctrl +/, and the effect looks like this:

2. Uncomment
Click Ctrl +/ again to uncomment
Second, method 2
Enclose the entire paragraph in three double or multiple quotes, as shown in the figure

Read More: