注释: 用来以自然语言描述某段代码功能是什么, 或者临时移除一段代码时用注释的方式将代码临时禁用 脚本如下: ============================================================================ # A comment, this is so you can read your program later. # Anything after the # is ignored by python. print "I could have code like this." # and the comment after is ignored # You can also use a comment to "disable" or comment out a piece of code # print "This won't run." print "This will run." =========================================================================== # 号说明: > 中文: 井号 > 英文:octothorpe
笨办法学python--Lesson2
最新推荐文章于 2024-09-15 00:17:46 发布