liuyangak

python第1练--print

语句

print "欢迎"

raw_input("Press enter key to close this window")  #接受Enter键输入退出

 

关联

1 在输出窗口输出中文(2.7版本)的方法

在代码文件头部增加

#coding=utf-8

 

2 注释方法

#单行注释

'''
多行注释
多行注释
多行注释
'''

 

posted on 2015-02-27 15:50  liuyangak  阅读(88)  评论(0)    收藏  举报

导航