pycharm多行注释

选中需要注释的代码

ctrl+/

#首字母大写
# test = 'alex'
# v = test.capitalize()
# print (v)
#
# 字符串的加法
# n1 = 'my '
# n2 = ' name '
# n3 = 'is '
# n = n1 + n2 + n3
#
# print (n)

猜你喜欢

转载自www.cnblogs.com/thinkplo/p/10099061.html