书本练习题2print函数使用

#号的使用,注释单行
# A comment ,this is so you can read your program later.
# Anything aftre 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.")
print ("hello world")
posted @ 2019-06-17 22:36  犀利犀利  阅读(148)  评论(0编辑  收藏  举报