摘要: 1 #author F 2 3 datas = { 4 "实务": { 5 "主体": { 6 "政府": { 7 "利益": { 8 "政治利益", "物质利益", "精神利益(文化)", "民生利益(保障)", "生态利益" 9 ... 阅读全文
posted @ 2017-06-09 15:06 Bird_getUpEarly 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1 #author F 2 3 #字典基本操作 4 info = { 5 'stu1101':'Mr F', 6 'stu1102':'miss l00 ', 7 'stu1103':'dr key' 8 } 9 print(info) #字典是无序的 10 #查询 11 print(info["stu1102"]) 12 #修改 13 info["s... 阅读全文
posted @ 2017-06-08 18:43 Bird_getUpEarly 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1 #author F 2 3 name = "linux is an \toperation diff with windows {test}" 4 5 print(name.capitalize()) #Linux... 6 print(name.count("i")) #6 7 print(name.center(50, "-")) #-----linux is a... 阅读全文
posted @ 2017-06-08 14:55 Bird_getUpEarly 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1 #author F 2 3 import sys 4 5 #list格式存储商品信息 6 product_list = [ 7 ('Iphone', 5800), 8 ('MacPro', 10000), 9 ('Bike', 888), 10 ('Watch', 2300), 11 ('Coffee', 58), 12 ... 阅读全文
posted @ 2017-06-08 11:12 Bird_getUpEarly 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 了解python基本语法 尝试写简单的python程序 python list 用法(增删改查): python list 用法(复制 循环): 元组 浅copy补充 阅读全文
posted @ 2017-06-07 19:13 Bird_getUpEarly 阅读(329) 评论(0) 推荐(0) 编辑