首页 > 编程语言 > 详细

LearnPythonTheHardWay(1)

时间:2015-06-13 18:21:09      阅读:260      评论:0      收藏:0      [点我收藏+]

主要是简单的学习一下输出Hello world。

跟了解 print 的用法,及#的作用

#放在开头可以定义编码,如 #coding:gbk 指定编码为gbk

#放在python代码中可以作为注释

print "Hello world!"
print "Hello Again"
print "I like typing this"
print "This is fun"
print "Yay! printint."
print "I‘d much rather you ‘not‘."
print ‘I "said" do not touch this.‘

 

LearnPythonTheHardWay(1)

原文:http://www.cnblogs.com/v4an/p/4573734.html

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