習(xí)題2--#號(hào)注釋
#號(hào)的全稱octothorpe或者pound character
- Python #號(hào)使用練習(xí)
python #號(hào)使用練習(xí)
# -*- coding: utf-8 -*-
# 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.運(yùn)行吧" #中文注釋也是可以的