首页 > 编程语言 > 详细

python 输入输出,注释的使用

时间:2015-04-26 01:19:17      阅读:192      评论:0      收藏:0      [点我收藏+]
用EidtPlus新建一个py文件.代码如下(不能用notepad)
#-*- coding:cp936 -*-
print 'hello, python'
print 'first 1', 'second 2'
print '100 + 200 =', 100+200
#用户输入
"""
用户输入
"""
name = raw_input()
print '输入的数据:', name
name = raw_input('please enter your name:')
print 'hello', name
技术分享

python 输入输出,注释的使用

原文:http://blog.csdn.net/xingkongyingke/article/details/45279347

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!