[Head First Python] - 第二章 python of comment

时间:2014-06-18 15:46:56   收藏:0   阅读:264

1- 多行注释 ‘‘‘ ‘‘‘ 或 """ """

‘‘‘this is the standard way to include a

  multiple-line comment in you code‘‘‘

"""this is the standard way to include a

  multiple-line comment in you code"""

2- 单行注释 #

# this is comment

[Head First Python] - 第二章 python of comment,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!