选中需要注释的代码

ctrl+/

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