笨办法学Python ex02

2016-12-10  本文已影响0人  Joemini

注释和井号“#”


# -- coding: utf-8 --
# Acomment, 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."

附加题


上一篇下一篇

猜你喜欢

热点阅读