选中需要注释的代码
ctrl+/
#首字母大写# test = ‘alex‘# v = test.capitalize()# print (v)## 字符串的加法# n1 = ‘my ‘# n2 = ‘ name ‘# n3 = ‘is ‘# n = n1 + n2 + n3## print (n)
pycharm多行注释
原文:https://www.cnblogs.com/thinkplo/p/10099061.html