- 博客(4)
- 收藏
- 关注
原创 学《learn python the hard way》(3)
cars = 100 space_in_a_car = 4.0 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passengers_per_car = passeng
2013-08-27 00:09:37 533 1
原创 学《笨办法学python》(2)
#print the sentence print "I will now count my chickens:" #calculate ,use +,-,*,/and% print "Hens", 25 + 30.0/ 6 print "Roosters", 100 - 25 * 3.0 % 4 #print the sentence print "Now I will count the eg
2013-08-19 21:21:10 632
原创 学《learn python the hard way》(1)
做了两课练习: ex1.py #print "Hello World!" #print "Hello Again" #print "I like typing this." #print "This is fun." #print 'Yay! Printing.' #print "I'd much rather you 'not'." #print 'I "said" do
2013-08-18 15:54:12 661
原创 学习《笨办法学phyton》(0)
系统配置:win8 64位 首先是了解作为程序员的一些特质以及配置python还有一些在terminal下进行的文件目录操作。 程序员特质: 读写能力 留意细微之处 找到不同 配置python很容易,配好环境变量path之后要重启cmd。这折腾我好一会儿。 然后是目录的建立,进入和打印。这个是md, cd, dir 后面跟空格 路径 后面不断重复 写程序——
2013-08-16 22:35:05 766
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人