自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

greensprin的博客

学习之旅

  • 博客(9)
  • 收藏
  • 关注

原创 Learn Python The Hard Way-ex10

这是我读《Learn Python The Hard Way》所做的练习,如果有错误请指正。tabby_cat = "\tI'm tabbed in."persian_cat = "I'm split\non a line."backslash_cat = "I'm \\ a \\ cat."fat_cat = """I'll do a list:\t* Cat food\t*

2018-01-11 22:43:53 194

原创 Learn Python The Hard Way-ex9

这是我读《Learn Python The Hard Way》所做的练习,如果有错误请指正。days = "Mon Tue Wed Thu Fri Sat Sun"months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug"#print "Here are the days:", daysprint "Here ate the months:",

2018-01-10 22:10:53 155

原创 Learn Python The Hard Way-ex8

这是我读《Learn Python The Hard Way》所做的练习,如果有错误请指正。#create a variable named "formatter" and assign informatter = "%r %r %r %r"# display formatter and replace format character with# the thing behind "

2018-01-09 23:43:00 149

原创 Learn Python The Hard Way-ex7

这是我读《Learn Python The Hard Way》所做的练习,如果有错误请指正。#display stringprint "Mary had a little lamb."#display string and replace format character with 'snow'print "Its fleece was white as %s." % 'snow

2018-01-08 23:48:57 146

原创 Learn Python The Hard Way-ex6

这是我读《Learn Python The Hard Way》所做的练习,如果有错误请指正。#create a variable with string and use format characterx = "There are %d types of people." % 10binary = "binary"do_not = "don't"y = "Those who k

2018-01-07 23:35:40 174

转载 Learn Python The Hard Way-ex5

这是我读《Learn Python The Hard Way》所做的练习,如果有错误请指正。name = 'Greensprin'age = 20 #it's a lieheight = 162 #cmweight = 'it is a secret'eyes = 'brown'teeth = 'White'hair = 'Black'print "Let's talk

2018-01-04 21:10:58 199

原创 C语言(一)

/*所有学习C语言的人都是从这个程序开始的。*//*学习捷径只有一个字,那就是:写,写,写!*/#include /*引用头文件*/int main(){ /*main 函数*/ printf("Hello World!"); /*输出要显示的字符串*/ return 0;

2016-03-03 15:51:52 412

原创 lunix(二)

vim设置行号:set numberwidth=1~9(1~9表示行号到顶行的距离,一般设置为1)创建一个Makefile文件

2016-01-07 13:09:12 432

原创 lunix(一)

学习前的准备工作      (一) 在虚拟机上安装Linux系统。        虚拟机可以使用VMware Workstation,Linux系统推荐CentOS6.5。具体的安装过程参照百度经验。       (二)熟悉Linux系统的基本操作及常用命令。              ① 通过“Ctrl+Alt+F1~F6” 来切换图形界面到文本界面。图形界面会要求用户登录,登录

2015-12-10 18:39:59 1067

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除