上一页 1 ··· 3 4 5 6 7
摘要: cars = 100space_in_a_car = 4.0drivers = 30passengers = 90cars_not_driven = cars - driverscars_driven = driverscarpool_capacity = cars_driven * space_i... 阅读全文
posted @ 2014-10-21 09:17 林中细雨 阅读(189) 评论(0) 推荐(0) 编辑
摘要: print "I will now count my chickens:"print "Hens", 25 + 30 / 6print "Roosters", 100 - 25 * 3 % 4print "Now I will count the eggs:"print 3 + 2 + 1 - 5 ... 阅读全文
posted @ 2014-10-21 09:11 林中细雨 阅读(135) 评论(0) 推荐(0) 编辑
摘要: # A comment, this is so you can read your program later.# Anything after the # is ignored by python.print "I could have code like this." # and the com... 阅读全文
posted @ 2014-10-21 09:06 林中细雨 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 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'." prin... 阅读全文
posted @ 2014-10-20 20:18 林中细雨 阅读(119) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7