摘要: __author__ = "Alex Li" data = { '北京':{ "昌平":{ "沙河":["oldboy","test"], "天通苑":["链家地产","我爱我家"] }, "朝阳":{ "望京":["奔驰","陌陌"], "国贸":{"CICC","HP"}, &q 阅读全文
posted @ 2018-01-11 14:59 无尽追寻 阅读(145) 评论(0) 推荐(0) 编辑
摘要: author = "superman"product_list = [ ('Iphone',5800), ('Mac Pro',9800), ('Bike',800), ('Watch',10600), ('Coffee',31), ('Alex Python',120),]shopping_lis 阅读全文
posted @ 2018-01-11 10:46 无尽追寻 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: 字典是一种key-value(键值对) 的数据类型,使用就像我们上学用的字典,通过笔画、字母来查对应页的详细内容。 语法: info = { 'superman01': "TengLan Wu", 'superman02': "LongZe LuoLa", 'superman03': "Fan Da 阅读全文
posted @ 2018-01-10 19:51 无尽追寻 阅读(136) 评论(0) 推荐(0) 编辑
摘要: img src="https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d&word=%E4%B8%89%E5%89%91%E5%AE%A2&step_word=&hs=0&pn=697&spn=0&di=162707221930&pi=0&rn=1&tn=baiduimagedetail&is=0%2C0&istype=0&ie=utf-8&oe=utf-8&in=&cl=2&lm=-1&st=undefined&cs=2539958588%2C1560292638&os=2196251598%2C3063008783&simid=3557440140%2C281167371&adpicid=0&lpn=0&ln=1966&fr=&fmq=1515567647850_R&fm=&ic=und 阅读全文
posted @ 2018-01-10 15:05 无尽追寻 阅读(300) 评论(3) 推荐(2) 编辑