How to comment in PyCharm
This article is about how to annotate in PyCharm. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Annotation
In PyCharm, select uncommented multilines of code, you can use the CTRL+/ key to achieve multilines of comments; select commented multilines of code, you can use the CTRL+/ key to uncomment in these lines of code.
Remove pass from the previous a.py and add the following code:
Lst = ['hello',' world','!'] Hello_string = '.join (lst) print (lst)
Select these three lines of code to use the CTRL+/ key to achieve multiline comments, and press the CTRL+/ key again to uncomment. As shown below:
Thank you for reading! This is the end of this article on "how to comment in PyCharm". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!