美文网首页
练习2 注释和#号

练习2 注释和#号

作者: 黑色茄子 | 来源:发表于2017-09-16 14:03 被阅读0次

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."

相关文章

网友评论

      本文标题:练习2 注释和#号

      本文链接:https://www.haomeiwen.com/subject/towysxtx.html