码迷,mamicode.com
首页 > 编程语言 > 详细

LearnPythonTheHardWay(1)

时间:2015-06-13 18:23:41      阅读:154      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!