LearnPythonTheHardWay(1)

主要是简单的学习一下输出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.'

 

posted @ 2015-06-13 16:57  v4an  阅读(104)  评论(0编辑  收藏  举报