注释和“#”号
在学习一门编程语言的时候,最重要的事一定少不了看程序里的注释。一般情况注释有两个功能:第一,可以通过自然语言的方式告诉你某段代码的作用;第二,在运行程序的时候想要禁用某些代码,可以先用注释将代码临时禁用。
练习部分
# 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: