python 输入输出,注释的使用

来源:互联网 发布:flashplayer mac 编辑:程序博客网 时间:2024/05/21 22:51
用EidtPlus新建一个py文件.代码如下(不能用notepad)
#-*- coding:cp936 -*-print 'hello, python'print 'first 1', 'second 2'print '100 + 200 =', 100+200#用户输入"""用户输入"""name = raw_input()print '输入的数据:', namename = raw_input('please enter your name:')print 'hello', name

0 0
原创粉丝点击