习题2--#号注释
#号的全称octothorpe或者pound character
- Python #号使用练习
python #号使用练习
# -*- 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.运行吧" #中文注释也是可以的
网友评论