了解#号在python中的注释作用,并且熟练的运用
# A comment, this is so you can read your program later. # Anything after the # is ignored by python print "I could hava 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."
输出
I could hava code like this. This will run.
时间: 2024-10-12 20:27:28