学习内容:
# 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 ig
# You can also use a comment to "disable" or comment out a piece of code:
# print ("This won't run.")
print ("This won't run.")
运行结果:
知识点:
"#“的作用是注释,”#"右边的内容不执行,不打印。
“#”:print时 若是不想打印 需要放在括号外面。