下面的例子中,输入和输出分别由大于号和句号提示符( 本手册中的很多示例——包括那些带有交互提示符的——都含有注释。Python 中的注释以 如下示例: # this is the first comment
SPAM = 1 # and this is the second comment
# ... and now a third!
STRING = "# This is not a comment."
|
Archiver|手机版|笨鸟自学网 ( 粤ICP备20019910号 )
GMT+8, 2025-8-30 08:38 , Processed in 0.050092 second(s), 19 queries .
Powered by Discuz! X3.5
© 2001-2017 Discuz Team. Template By 【未来科技】【 www.wekei.cn 】